NetBatch Management Programming Manual

Commands and Responses
NetBatch Management Programming Manual522462-003
5-16
ADD SCHEDULER Command
ADD SCHEDULER Command
The ADD SCHEDULER command purges scheduler files (except BATCHCTL and log
files) from the schedulers database, and creates and initializes a new database. For
information on when to use the command, see Starting a Scheduler on page 2-2.
Tokens in Command Buffer
For information on the tokens present in the command buffer, see Section 4, Common
Definitions. Information on the tokens specific to the ADD SCHEDULER command is:
ZBAT-TKN-EXECUTOR-PROGRAM
is the name of a program file and specifies the scheduler’s DEFAULT-EXECUTOR-
PROGRAM attribute. The default is $SYSTEM.SYSTEM.TACL.
Command
ZBAT-CMD-ADD
Object Type
ZBAT-OBJ-SCHEDULER
Tokens in Command Buffer
ZBAT-MAP-DEF-SCHEDULER
Definition ZBAT-DDL-DEF-SCHEDULER.
02 ZBACKUPCPU2 type ZSPI-DDL-INT.
02 ZBACKUPCPU1 type ZSPI-DDL-INT.
02 ZMAXCONCURRENTJOBS type ZSPI-DDL-INT.
02 ZMAXTEMPEXECUTORS type ZSPI-DDL-INT.
02 ZTAPEDRIVES type ZSPI-DDL-INT.
02 ZMAXPRI type ZSPI-DDL-INT.
02 ZINFO-TAPEDRIVES-IN-USE type ZSPI-DDL-INT.
02 ZAT-ALLOWED type ZSPI-DDL-BOOLEAN.
02 ZSUBMIT-ALLOWED type ZSPI-DDL-BOOLEAN.
02 ZEVERY-CATCHUP type ZSPI-DDL-BOOLEAN.
02 ZEMS type ZBAT-DDL-EMS.
02 ZCLASSNAME type ZBAT-DDL-NETBATCH-NAME.
02 ZPRI type ZSPI-DDL-INT.
02 ZSELPRI type ZSPI-DDL-INT.
02 ZMAXPRINTLINES type ZSPI-DDL-INT2.
02 ZMAXPRINTPAGES type ZSPI-DDL-INT2.
02 ZSTOP-ON-ABEND type ZSPI-DDL-BOOLEAN.
02 ZSTALL type ZSPI-DDL-BOOLEAN.
02 ZHIGHPIN type ZSPI-DDL-BOOLEAN.
02 ZINITIATION type ZSPI-DDL-BOOLEAN.
02 ZLOCALNAMES type ZSPI-DDL-CHAR8
occurs 30 times.
End
ZBAT-TKN-EXECUTOR-PROGRAM token-type ZSPI-TYP-STRING.
ZBAT-TKN-OUT-FILE token-type ZSPI-TYP-BYTESTRING.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in Response Buffer
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST.
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM.!{}
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.