SCF Reference Manual for G-Series RVUs (G06.24+)

SCF Commands
SCF Reference Manual for G-Series RVUs520413-004
5-79
LOG Command
LOG Command
The LOG command directs to a file a copy of the input commands and the output
generated by SCF.
This is a nonsensitive command.
logfile-spec
if present, specifies the file to which the commands and output are written. If you
specify LOG logfile-spec to log to a different file when logging is already in
progress, the current log file is closed and logging begins to the new file. If
logfile-spec has the form of a file name and the file does not exist, an EDIT file
is created. If the named file is an existing file, the information is appended to the
file.
If you omit logfile-spec, all logging stops and the log file is closed.
!
causes the specified file to be purged and a new file of the same name to be
created. If this option is not specified, SCF appends the log information to the end
of the existing file.
Considerations
The log file cannot have the same name as the out file initially in the command to
run SCF (see the OUT option on page 4-3), or as specified by the OUT command
(described on OUT Command on page 5-88).
Logging does not interfere with the writing of output or the collection of input.
Examples
The following command causes SCF commands and resultant output to be written
to a log file named $DATA.AUDIT.OCT14:
-> LOG $DATA.AUDIT.OCT14
The following command causes logging to stop and closes the log file:
-> LOG
LOG [ logfile-spec [ ! ] ]