8.149 SCPIMPLY (Display or set option to pass non-Hercules com-
mands to the SCP)

8.149.1 Function

SCPIMPLY allows it to switch on or off the passing of all non-Hercules commands (commands unknown
to Hercules) to the SPC if the SCP has enabled receipt of SCP commands. Given without an argument
the command displays the current value.

The default for SCPIMPLY is off if it is not explicitly switched on in the Hercules configuration file.

8.149.2 Syntax

Descriptive


Diagram

Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




OFF ¬¬¬«




8.149.3 Parameter

OFF

Do not route the SPC and priority SCP replies and responses to the Hercules
console. This is the default, if SCPECHO is not coded in the configuration file.

ON

Route the SPC and priority SCP replies and responses to the Hercules console.

8.149.4 Examples

Example 1:

Switch passing of non-Hercules commands to the SCP on and off.

HHC00013I Herc command: 'scpimply'

HHC02204I Value 'scpimply' set to 'off'

HHC00013I Herc command: 'scpimply on'

HHC02204I Value 'scpimply' set to 'on'

Figure 275: SCPIMPLY command

8.150 SCRIPT (Run a sequence of commands contained in a file)

8.150.1 Function

The SCRIPT command sequentially executes the commands contained within the file filename. The script
file itself may also contain script commands but the system ensures that no more than 10 levels of scripts
are invoked at any one time to avoid recursion loops. Enter the command without any arguments to list all
currently running scripts.

8.150.2 Syntax

Descriptive

[ filename [filename ... ]]

Diagram



~¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬®

filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

8.150.3 Parameter

filename

The name (and optionally the path) of the script file to be executed.

8.150.4 Examples

Example 1:

Execute script file “Script1.rc”.

HHC00013I Herc command: 'script D:\MVS\Conf\Script1.rc'

HHC02260I Script 5: begin processing file 'D:/MVS/Conf/Script1.rc'

Figure 276: SCRIPT command (Execute script file)

Previous Page Next Page