All Debug user input can be recorded to the log file. The
log file can be used as a playback file.
LOG, entered alone, displays the state of the log file, including the
file name, if open, and the current status (ON/OFF).
LOG filename opens the specified file and activates (turns
on) the log file. If another log file is already opened, it is first
closed (saved) before the new file is opened. This command does
an implicit LOG ONLOG ON and LOG OFF can be used to
activate/deactivate-activate the currently opened log file. The file remains
open (pending), but Debug input is not recorded if the log file
is OFF.
LOG CLOSE closes (saves) the current opened log file. Note
that this command is written to the log file. Executing this command
without a log file has no effect.
Parameters
filename
The file name for the logfile that is to be opened. If the file
already exists, it is automatically purged (without warning), and
reopened new. This command performs an implicit LOG ON.
If omitted, the status of the current log file is displayed.
Examples
%cmdebug > log logfile
Open a new logfile named logfile and start logging to it.
%cmdebug > log close
Close (and save) the current logfile. Auto-logging is now off.
Limitations, Restrictions
Unless a file equation is used, the list file is opened as the following:
CCTL, FIXED, ASCII, 10000 Records, 80 byte record width.