SCF Reference Manual for G-Series RVUs (G06.27+)
SCF Commands
SCF Reference Manual for G-Series RVUs—520413-005
5-84
OBEY Command
OBEY Command
The OBEY command causes commands to be read from a specified command file in
noninteractive mode.
SCF reads commands from the named file and processes them until either the end-of-
file mark or an error is encountered. If the end-of-file mark is encountered, command
processing continues from the previous input source; usually command input reverts to
interactive mode.
OUT file-spec
causes any SCF output generated for this command to be directed to the specified
file. The variable file-spec is defined on page 5-9.
file-spec
specifies the command file from which SCF commands are to be read. The
variable file-spec is defined on page 5-9.
NOECHO
suppresses the echo of each line executed in the command file, but does display
error messages. You should use this option when speed is important.
Considerations
•
If file-spec is not fully qualified, the name is expanded using the default values
for the system and volume.
•
The FC, HISTORY, PAUSE, !, and ? commands cause an error if they are
encountered in an SCF command file.
•
Command abbreviations within an SCF command file are not valid.
•
Command-file processing stops when the number of allowed errors or warnings is
exceeded. The number of allowed errors and warnings is set by the ALLOW
command (described on page 5-26).
•
OBEY commands can appear within command files, nested to a depth of 10. If a
depth of 10 is exceeded, the file is not executed and an error message is
displayed.
•
If SCF was started with a command file specified as the IN file (that is, if SCF was
run in noninteractive mode), SCF terminates when it encounters the end-of-file
mark.
OBEY [ / OUT file-spec / ] file-spec [ , NOECHO ]