SCRIPT_FILE - UCMD Manager configuration option

Description

The SCRIPT_FILE option specifies a script file to execute on the remote computer.

The script file can be any script that is valid for the command shell on the remote computer's operating system. The maximum size of the script file is approximately 64,000 characters.

The entire script is read and sent to the remote system for execution.

Usage

Method

Syntax

IBM i

UNIX

Windows

z/OS

Command Line, Short Form

-s ddname or file


(tick)

(tick)

(tick)

Command Line, Long Form

-script ddname or file


(tick)

(tick)

(tick)

Environment Variable

UCMDSCRIPT file

(tick)

(tick)

(tick)


Configuration File Keyword

n/a





STRUCM Parameter

SCRFILE(file) [SCRMBR(member)]

(tick)




Values

IBM i

Script is read from file name. The file name can be qualified with a library; otherwise, the library list *LIBL is searched for the first occurrence of the file. A member name can be used for further qualification by specifying the SCRMBR parameter.

UNIX

Script is read from file name.

Windows

Script is read from file name.

z/OS

Script is read from the DD statement ddname.