NetBatch Manual

Commands
NetBatch Manual522460-004
6-195
SYSTEM Command
Scheduler logfile switched
3} STATUS SCHEDULER
SCHEDULER STATUS
Process : \MELBDEV.$TEST Primary : 0,60 Backup : 1,41
Database: \MELBDEV.$DATA7.TEST
Logfile : \MELBDEV.$DATA7.TEST.LOGAAB .
.
These examples list the scheduler log file events that record the results of the
previous SWITCHLOG SCHEDULER command:
°
Last event in log file $NB.LOGS.TESTLOG:
LOG \MELBDEV.$NB.LOGS.TESTLOG TO
\MELBDEV.$DATA7.TEST.LOGAAB
°
First two events in log file $DATA7.TEST.LOGAAB:
LOG \MELBDEV.$NB.LOGS.TESTLOG TO
\MELBDEV.$DATA7.TEST.LOGAAB
LOG SWITCHLOG \MELBDEV.$NB.LOGS.TESTLOG TO
\MELBDEV.$DATA7.TEST.LOGAAB U_255,255
H_\MELBDEV.$ZTN0.#PTY6
This example shows the SWITCHLOG SCHEDULER command changing a
scheduler log file to the Event Management Service (EMS) collector process $0:
> BATCHCOM $TEST; STATUS SCHEDULER
SCHEDULER STATUS
Process : \MELBDEV.$TEST Primary : 0,60 Backup : 1,41
Database: \MELBDEV.$DATA7.TEST
Logfile : \MELBDEV.$DATA7.TEST.LOGAAB .
.
> BATCHCOM $TEST; SWITCHLOG SCHEDULER $0
Scheduler logfile switched
> BATCHCOM $TEST; STATUS SCHEDULER
SCHEDULER STATUS
Process : \MELBDEV.$TEST Primary : 0,60 Backup : 1,41
Database: \MELBDEV.$DATA7.TEST
Logfile : \MELBDEV.$0 .
.
SYSTEM Command
Use the SYSTEM command to specify the default node for a BATCHCOM session.
BATCHCOM uses this default when expanding partial file names specified in
BATCHCOM commands.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
SY[STEM] [ / OU[T] [ file-name ] / ] [ \node ]