SCRIPT_OPTIONS - UCMD Manager configuration option
Description
The SCRIPT_OPTIONS option specifies command line options to pass to the script file.
SCRIPT_OPTIONS is valid only if the SCRIPT_FILE option specifies a script file.
Usage
Method | Syntax | IBM i | UNIX | Windows | z/OS |
|---|---|---|---|---|---|
Command Line, Short Form | -o options | ||||
Command Line, Long Form | -options options | ||||
Environment Variable | UCMDOPTIONS=options | ||||
Configuration File Keyword | n/a | ||||
STRUCM Parameter | OPTIONS(options) |
Values
options is the command line options to pass to the script file.
The remote command shell processes meta-characters (variable evaluation $ or % and file name expansions such as *) as normal on the remote computer.
IBM i | If options contains spaces or shell meta-characters, it must be enclosed in single ( ' ) or double ( " ) quotation marks. |
|---|---|
UNIX | If options contains spaces or shell meta-characters, it must be enclosed in single ( ' ) or double ( " ) quotation marks. If an enclosing character is part of the option, prefix the character with the command line escape character, back slash ( ** ). |
Windows | If options contain spaces, it must be enclosed in double ( " ) quotation marks. If a quotation mark is part of the value, prefix it with the Windows escape character, back slash (). |
z/OS | If options contains spaces, it must be enclosed in single ( ' ) or double ( " ) quotation marks. If an enclosing character is part of options, use two consecutive characters to produce one. |