CROSSREF Manual
CROSSREF COMMANDS
LOG Command
LOG COMMAND
The LOG command writes a copy of the current session's input and
output to a file. The syntax of the LOG command is:
{ TO
file-name
}
LOG { }
{ STOP }
TO
file-name
identifies a file to receive the copy of the commands
and output. If the file does not exist, CROSSREF
creates one using the specified
file-name
.
STOP
closes the current log file and stops all logging.
Considerations
• If you specify the name of a disk file that does not exist,
CROSSREF creates an EDIT file and sends the output to that
file.
• If you specify the name of a disk file that already exists,
CROSSREF appends the output to the existing EDIT file.
• If you issue another LOG
file-name
command when logging is
already in progress, CROSSREF closes the previous log file and
begins to log to the new file. If the specified file name is
the same as the previous log file name, CROSSREF ignores the
LOG command and continues to log to the same file.
4-16