NET/MASTER Management Services (MS) Command Reference Manual

LBANNER
LOGSWAP
NonStop NET/MASTER MS Commands
2–152 115412 Tandem Computers Incorporated
When NonStop NET/MASTER MS attempts to automatically swap to the next log
file in the group and the next log file is:
A new file, that is, a file that has not been used since NonStop NET/MASTER
MS has started, NonStop NET/MASTER MS disregards the setting of
SYSPARMS LOGWRAP and automatically swaps to the new file.
An old file, that is, a file that has been used since NonStop NET/MASTER MS
has started, NonStop NET/MASTER MS uses the setting of SYSPARMS
LOGWRAP to determine whether to reuse the old file. If SYSPARMS
LOGWRAP=YES, NonStop NET/MASTER MS performs a PURGEDATA
operation on the old file, erasing all records currently in the file, and begins
logging to the file. If SYSPARMS LOGWRAP=NO, NonStop NET/MASTER
MS does not begin logging to the file: NonStop NET/MASTER MS sends a
message to $0 reporting that logging has stopped.
If an available log file does not exist when NonStop NET/MASTER MS attempts
to use it, NonStop NET/MASTER MS creates it. If the log file does exist, NonStop
NET/MASTER MS performs a PURGEDATA operation on the file, erasing all
records currently in the file. NonStop NET/MASTER MS does not append
records to a previously used log file.
For related information, see the LOG, SHOW LOGS, SYSPARMS LOGFILE, and
SYSPARMS LOGWRAP commands.
Examples
1. The following example stops logging to the current activity log file and opens the
next available log file as the current activity log file:
LOGSWAP
2. The following example stops logging to the current activity log file and opens the
log file specified by the SYSPARMS LOGFILE5 command as the current activity
log file:
LOGSWAP 5