NetBatch Manual
Commands
NetBatch Manual—522460-004
6-193
SWITCHLOG SCHEDULER Command
Considerations
•
The SWITCHCPU SCHEDULER command is available to NetBatch supervisors
only.
•
The SWITCHCPU SCHEDULER command switches scheduler processes only
between the current primary and backup CPUs. You cannot use the BACKUPCPU
attribute with the command to specify a different backup CPU.
•
You can omit the object keyword SCHEDULER from the SWITCHCPU
SCHEDULER command only when SCHEDULER is the current assumed object.
For more information, see ASSUME SCHEDULER Command on page 6-73.
Example
This example shows the SWITCHCPU SCHEDULER command switching the
processes of scheduler $ZBAT between CPUs 0 and 2:
117} STATUS SCHEDULER .
Process : \MELBDEV.$ZBAT Primary : 0,59 Backup : 2,101 .
118} SWITCHCPU SCHEDULER
Scheduler CPUs switched
119} STATUS SCHEDULER .
Process : \MELBDEV.$ZBAT Primary : 2,101 Backup : 0,59
Scheduler log-file events recording the CPU switch from the
previous example are:
****** U_255,255 H_\MELBDEV.$ZTN0.#PTY4
CHKPNT takeover from DOIT^SCHEDULER+3120I U_255,255
H_\MELBDEV.$ZTN0.#PTY4
SWITCH CPU Scheduler process, primary 0 , backup 2 U_255,255
H_\MELBDEV.$ZTN0.#PTY4
CHKPNT Save duplicate request reply, sync id: 39
\MELBDEV.$:0:73:17094444 U_255,255
H_\MELBDEV.$ZTN0.#PTY4
SWITCHLOG SCHEDULER Command
Use the SWITCHLOG SCHEDULER command to close the current scheduler log file
and open another.
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
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
SWITCHL[OG] [ SCHEDULER ] [ / OU[T] [ file-name ] / ]
[ log-file ]