nld and noft Manual
noft Options
nld and noft Manual—520384-003
5-38
LOG
LOG
The LOG option writes a copy of the current noft session’s input and output to a file
(called the log file).
filename
specifies the name of the log file. If the file exists, noft appends the log output to
it. If the file does not exist, noft creates it. filename is a Guardian filename
when noft is running in the Guardian environment. filename is an OSS
pathname when noft is running in the OSS environment. The maximum size of
the OSS pathname is 255 characters.
B
sets the file type of the output file to binary if the file does not already exist. The
default is text. If the file already exists, B has no effect.
OFF
closes the current log file and stops all logging.
?
displays the name of the current log file (see Example 5-32 on page 5-38).
Considerations:
•
If logging is already in progress, noft closes the previous log file and begins
logging to the new file. If the file is the same as the previous log file, noft ignores
the LOG option and continues logging to the same file.
•
When sending large amounts of output to a log file in the Guardian environment,
you might exceed the default file-size limits. To increase the file-size limits, use the
File Utility Program (FUP) to create the file before specifying its name in the LOG
option. Specify larger primary, secondary, and maximum extents. For example:
FUP CREATE $VOL.SUBVOL.LOG1,CODE 180,EXT(100,100),ODDUNSTR,MAXEXTENTS 900
To use the file that you created with the previous command, enter either of the
following commands:
°
LOG $VOL.SUBVOL.LOG1 B
°
SET LOG $VOL.SUBVOL.LOG1 B
[ SET ] LOG { filename [B] | OFF | ? }
Example 5-32. LOG Option
noft> log testfile
Log File : $SPOOL.KEVIND.testfile