Virtual Hometerm Subsystem (VHS) Manual (G06.24+, H06.04+, J06.03+)
Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual—429311-002
7-35
OBEY Command
logfile-spec
if present, specifies the file to which the commands and output are written. If the
logfile-spec has the form of a disk file name and the file does not exist, an
EDIT file is created. If the named file is an existing disk file, the information is
appended to the file. If logfile-spec is omitted, all logging stops and the log file
is closed.
!
purges the specified file and creates a new file of the same name. If this option is
not specified, VHSCI appends the log information to the end of the existing file.
Considerations
•
If logfile-spec is specified when logging is already in progress, the current log
file is closed and logging begins to the new file.
•
The log file cannot have the same name as the OUT file. For more information, see
OUT Command on page 7-36.
•
Logging does not interfere with the writing of output or the collection of input.
Examples
OBEY Command
The OBEY command causes commands to be read from a specified file (an OBEY
(command) file). OBEY commands can appear within an OBEY (command) file. OBEY
(command) files can be nested to a depth of ten.
Commands are read from the named file and processed until the end of the file, an
EXIT command, or an error is encountered. If the end of file is encountered, command
processing continues from the previous input source. If the maximum number of errors
or warnings set by the ALLOW command is exceeded, the current OBEY (command)
file and all previously opened OBEY (command) files close. Command input reverts to
interactive mode. If VHSCI was started with a disk file specified as the IN file (that is, if
VHSCI was not run in interactive mode), VHSCI terminates.
/ OUT file-spec /
causes any VHSCI output generated for this command to be directed to the
specified file.
-> LOG $DATA.AUDIT.OCT14
-> LOG
O[BEY] [ / OUT file-spec / ] file-spec [, NOECHO ]