SCF Reference Manual for J-Series and H-Series RVUs

SCF Commands
SCF Reference Manual for J-Series and H-Series RVUs529649-003
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 command is sensitive.
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
This command causes SCF commands and resultant output to be written to a log
file named $DATA.AUDIT.OCT14:
-> LOG $DATA.AUDIT.OCT14
This command causes logging to stop and closes the log file:
-> LOG
LOG [
logfile-spec
[ ! ] ]