NetBatch Manual
Commands
NetBatch Manual—522460-004
6-159
START SCHEDULER Command
•
The log-file events resulting from the cold start of the scheduler in the previous
example are:
CREATE Scheduler Primary \MELBDEV.$TEST CPU 0
COLD Purge any existing scheduler database files
OPEN U_255,255 P_BATCHCOM \MELBDEV.$:0:61:17122860
ADD SCHEDULER \MELBDEV.$:0:61:17122860 U_255,255
H_\MELBDEV.$ZTN0.#PTY6
CLOSE \MELBDEV.$:0:61:17122860 U_255,255
OPEN U_255,255 P_BATCHCOM \MELBDEV.$:0:61:17123116
START SCHEDULER \MELBDEV.$:0:61:17123116 U_255,255
H_\MELBDEV.$ZTN0.#PTY6
CREATE Scheduler Backup \MELBDEV.$TEST CPU 1 U_255,255
H_\MELBDEV.$ZTN0.#PTY6
START \MELBDEV.$TEST:17660205
•
This example shows the result of a START SCHEDULER command that tries to
start a scheduler whose database does not exist:
> PPD $BTCH
(Process does not exist)
> FILES $DATA7.BTCH
No files match \MELBDEV.$DATA7.BTCH.*
> NETBATCH /NAME $BTCH, NOWAIT/ $DATA7.BTCH !
> FILES $DATA7.BTCH
$DATA7.BTCH
BATCHCTL LOGAAA
> BATCHCOM $BTCH; START SCHEDULER
2069-E Use ADD SCHEDULER to create and initialize the
database
•
This example shows the result of a START SCHEDULER command that tries to
act on a started scheduler:
> PPD $ZBAT
Name Primary Backup Ancestor
$ZBAT 0,61 3,29 $Z605
> BATCHCOM $ZBAT; START SCHEDULER
2055-E Scheduler is already started; command ignored