NetBatch Manual
Commands
NetBatch Manual—522460-004
6-49
ADD SCHEDULER Command
•
You can omit the object keyword SCHEDULER from the ADD SCHEDULER
command only when SCHEDULER is the current assumed object. For more
information, see ALTER SCHEDULER Command on page 6-67.
Examples
•
This example shows the result of an ADD SCHEDULER command that tries to act
on a nonexistent scheduler:
> PPD $SCHD
(Process does not exist)
> BATCHCOM $SCHD; ADD SCHEDULER
0014-E Device does not exist, \MELBDEV.$SCHD
•
This example shows the result of an ADD SCHEDULER command that tries to act
on a started scheduler:
> PPD $ZBAT
Name Primary Backup Ancestor
$ZBAT 2,36 3,24 $C2
> BATCHCOM $ZBAT; ADD SCHEDULER
2055-E Scheduler is already started; command ignored
•
This example shows a cold start of a previously active but now shutdown
scheduler. The example shows the effect of the ADD SCHEDULER command in
the cold-start process.
$DATA7 SCHD 71> FILEINFO
$DATA7.SCHD
Code EOF …
ATTACH 847 24576 …
ATTACH0 847 3072 …
BATCHCTL 847 552 …
CHKQUE 847 12288 …
CHKQUE0 847 12288 …
EXECUTO0 847 12288 …
EXECUTOR 847 12288 …
JOB 847P 16384 …
JOB Yes Yes Contains information about jobs and their
attributes.
JOBCLASS Yes Yes Contains information about classes and their
attributes.
JOBCLAS0 Yes Yes The JOBCLASS file’s alternate key file.
NBATTX Yes Yes Contains information linking attachment sets to
jobs.
NBATTX0 Yes Yes The NBATTX file’s alternate key file.
Table 6-6. Files Created or Initialized by ADD SCHEDULER
Command (page2of2)
File ID Created? Initialized? Purpose