NetBatch Management Programming Manual
Commands and Responses
NetBatch Management Programming Manual—522462-003
5-55
STATUS EXECUTOR Command
STATUS EXECUTOR Command
The STATUS EXECUTOR command returns executors’ names, processors, and
states. If an executor is in use by a job, the command also returns the job’s number
and the name of its class.
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 STATUS EXECUTOR command
is:
ZBAT-TKN-SEL-EXECUTORNAME
specifies an executor name or, when specified with either or both the asterisk (*)
and question mark (?) wild-card characters, a range of executor names.
Tokens in Response Buffer
For information on the tokens present in the response buffer, see Section 4, Common
Definitions.
Operational Note
The STATUS EXECUTOR command is a nonsensitive command available to all users.
Command
ZBAT-CMD-STATUS
Object Type
ZBAT-OBJ-EXECUTOR
Tokens in Command Buffer
ZBAT-TKN-SEL-EXECUTORNAME token-type ZSPI-TYP-STRING.!{}
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
Tokens in Response Buffer
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST.
ZBAT-TKN-SEL-EXECUTORNAM token-type ZSPI-TYP-STRING.!{}
ZBAT-MAP-STATUS-EXECUTOR
Definition ZBAT-DDL-STATUS-EXECUTOR.
02 ZCPU type ZSPI-DDL-INT.
02 ZJOBNUMBER type ZSPI-DDL-INT.
02 ZWHICH-LIST type ZBAT-DDL-EXECUTOR-LIST.
02 ZCLASS type ZBAT-DDL-NETBATCH-NAME.
End
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.
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.