Virtual Hometerm Subsystem (VHS) Manual (H06.03+)
Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual—429311-001
7-34
LOG Command
LOG Command
The LOG command directs a copy of the input commands and the output generated by
VHSCI to a file.
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. See the description of the
OUT command.
•
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
LOG [ logfile-spec [ ! ] ]
-> LOG $DATA.AUDIT.OCT14
-> LOG










