Technical data
System Dump Analyzer
SET LOG
SET LOG
Initiates or discontinues the recording of an SDA session in a text file.
Format
SET [NO]LOG filespec
Parameter
filespec
Name of the file in which you want SDA to log your commands and their output.
The default filespec is SYS$DISK:[default_dir]filename.LOG, where SYS$DISK
and [default-dir] represent the disk and directory specified in your last SET
DEFAULT command. You must specify a file name.
Qualifiers
None.
Description
The SET LOG command echoes the commands and output of an SDA session to a
log file. The SET NOLOG command terminates this behavior.
There are the following differences between the SET LOG command and the SET
OUTPUT command:
• When logging is in effect, your commands and their results are still displayed
on your terminal. The SET OUTPUT command causes the displays to be
redirected to the output file such that they no longer appear on the screen.
• If an SDA command requires that you press Return to produce successive
screens of display, the log file produced by SET LOG will record only those
screens that are actually displayed. SET OUTPUT, however, sends the entire
output of all SDA commands to its listing file.
• The SET LOG command produces a log file with a default file type of .LOG;
the SET OUTPUT command produces a listing file whose default file type is
.LIS.
• The SET LOG command does not record output from the HELP command
in its log file. The SET OUTPUT command can record HELP output in its
listing file.
• The SET LOG command does not record SDA error messages in its log file.
The SET OUTPUT command can record SDA error messages in its listing file.
• The SET OUTPUT command generates a table of contents, each item of
which refers to a display written to its listing file. SET OUTPUT also
produces running heads for each page of output. The SET LOG command
does not produce these items in its log file.
Note that, if you have used the SET OUTPUT command to redirect output to a
listing file, you cannot use a SET LOG command to direct the same output to a
log file.
SDA–74