SWITCHLOG


SWITCHLOG

     Closes the current system log file, then creates and opens a new one.

SYNTAX

     SWITCHLOG


PARAMETERS

     None.


OPERATION

     When the SWITCHLOG command is executed, MPE/iX displays the
previous system log file number (xxx), the percentage of
file space used (yy), and the current open log file (zzz),
as shown in the following example

SYSTEM LOG FILE #xxx IS yy% FULL
SYSTEM LOG FILE #zzz IS ON

following message

NO LOGGING
LOG FILE xxxx IS yy% FULL

This command may be issued from a session, job, in BREAK, or
from a program. Pressing [Break] has no effect on this
command. It requires system supervisor (OP) capability or
must be issued from the console, unless it is distributed to
users with the ALLOW command.

NOTE

You should not BUILD new log files, since MPE/iX creates them
automatically. If you do use BUILD to create a new log file and then
attempt to switch the current log file to the file you created, user
logging will suspend in an error state. The following message will be
displayed

SYSTEM LOG FILE #xxxx ENCOUNTERED ERROR #yyyy
LOGGING SUSPENDED.

EXAMPLE(S)

     To switch logging to a new log file, enter

SWITCHLOG

ADDITIONAL INFORMATION

Commands:   CHANGELOG, RESUMELOG

Manuals : Performing System Operation Tasks (32650-90137)

System Startup, Configuration, and Shutdown Reference
Manual (32650-90042)