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)




















































































































































































































































































































































































































































































































































































































































































