NetBatch Management Programming Manual

Common Definitions
NetBatch Management Programming Manual522462-003
4-50
Extensible Structured Tokens
ZBAT-MAP-DEF-CRONTAB has the structure:
ZMINUTES
is a 64-bit fixed-point number with a bit set to 1 for each minute in an hour that
the job is to run. Bits 0 through 59 represent minutes 0 through 59. Bits 60
through 63 are fillers.
ZHOURS
is a 32-bit signed integer with a bit set to 1 for each hour in a day that the job is
to run. Bits 0 through 23 represent hours 0 through 23. Bits 24 through 31 are
fillers.
ZDAYS
is a 32-bit signed integer with a bit set to 1 for each day in a month that the job
is to run.
ZMONTHS
is a 16-bit signed integer with a bit set to 1 for each month in a year that the job
is to run. Bit 0 and 13 through 15 are fillers.
ZWEEKDAYS
is a 16-bit signed integer with a bit set to 1 for each weekday in a month that
the job is to run. Bit 0 represents Sunday. Bit 6 represents Saturday. If all bits
are 1, ZDAYS determines the day. If ZDAYS and ZWEEKDAYS bits are not all
set to 1, the days selected can match ZDAYS or ZWEEKDAYS.
ZBAT-MAP-DEF-EXECUTOR
is an extensible structured token that contains information about an executor. The
token’s usage in executor commands is:
Definition ZBAT-DDL-DEF-CRONTAB.
02 ZMINUTES Type ZSPI-DDL-INT4.
02 ZHOURS Type ZSPI-DDL-INT2.
02 ZDAYS Type ZSPI-DDL-INT2.
02 ZMONTHS Type ZSPI-DDL-INT.
02 ZWEEKDAYS Type ZSPI-DDL-INT.
End
Command ZBAT-MAP-DEF-EXECUTOR
ADD EXECUTOR Required in command buffer
ALTER EXECUTOR Required in command buffer
DELETE EXECUTOR Not used
INFO EXECUTOR Returned in response buffer
START EXECUTOR Not used
STATUS EXECUTOR Returned in response buffer
STOP EXECUTOR Not used