NetBatch Manual
Scheduler Planning, Configuration, and
Management
NetBatch Manual—522460-004
3-16
Cold Starting a Scheduler
includes the ! parameter.) For a list of the files purged, see the description of the !
parameter on page 3-12.
•
Creates and opens the scheduler’s configuration file BATCHCTL in the database
subvolume specified in the RUN NETBATCH command. The file contains default
values for the scheduler’s attributes, as listed in Table 3-1 on page 3-4.
•
Creates and opens the scheduler’s log file. The program creates this file by default
in the database subvolume specified in the RUN NETBATCH command. The
default file ID is LOGxxx, where xxx are sequentially assigned characters in the
range AAA-ZZZ (LOGAAA … LOGAAZ, LOGABA … LOGZZZ, LOGAAA …).
•
To specify another log file instead of accepting the default, add map DEFINE
=_ZBAT_LOG_FILE to the TACL environment before running NETBATCH. For
example:
6> ADD DEFINE =_ZBAT_LOG_FILE, CLASS MAP, FILE $ZTN0.#PTY6
7> INFO DEFINE =_ZBAT_LOG_FILE
Define Name =_ZBAT_LOG_FILE
CLASS MAP
FILE \MELBDEV.$ZTN0.#PTY6
8> NETBATCH /NAME $ZBAT, NOWAIT/ $NB.ZBAT !
9> BATCHCOM $ZBAT; STATUS SCHEDULER
SCHEDULER STATUS
Process : \MELBDEV.$ZBAT Primary : 0,60
Database: \MELBDEV.$NB.ZBAT
Logfile : \MELBDEV.$ZTN0.#PTY6
.
.
Step 3: Create and Initialize the Scheduler’s Database Files
Create and initialize the scheduler’s database files by using the ADD SCHEDULER
command:
95> BATCHCOM $ZBAT; ADD SCHEDULER, BACKUPCPU 1,2
Scheduler added
96> PPD $ZBAT
Name Primary Backup Ancestor
$ZBAT 1,49 $Z142
97> FILEINFO $NB.ZBAT.*
$NB.ZBAT
Code EOF … Owner RWEP PExt SExt
ATTACH 847 0 … 255,255 "OOOO" 100 200
ATTACH0 847 0 … 255,255 "OOOO" 32 32
BATCHCTL O 847 552 … 255,255 "OOOO" 2 2
CHKQUE 847 0 … 255,255 "OOOO" 64 32
CHKQUE0 847 0 … 255,255 "OOOO" 64 32
EXECUTO0 847 0 … 255,255 "OOOO" 2 2
EXECUTOR 847 0 … 255,255 "OOOO" 6 6
JOB 847P 0 … 255,255 "OOOO" 60 60
JOBCLAS0 847 0 … 255,255 "OOOO" 2 2
JOBCLASS 847 0 … 255,255 "OOOO" 2 2