NetBatch Management Programming Manual
Commands and Responses
NetBatch Management Programming Manual—522462-003
5-14
ADD CLASS Command
ADD CLASS Command
The ADD CLASS command adds a class to a scheduler. 
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 CLASS command is:
ZBAT-TKN-SEL-CLASSNAME
specifies a class name. The name can contain from 1 through 24 letters and 
numbers. It also can contain hyphens but must begin with a letter and end with a 
letter or number. The name cannot contain spaces. 
Tokens in Response Buffer
For information on the tokens present in the response buffer, see Section 4, Common 
Definitions. 
Operational Note
The ADD CLASS command is a sensitive command available to NetBatch supervisors 
only. 
Command
ZBAT-CMD-ADD
Object Type
ZBAT-OBJ-CLASS
Tokens in Command Buffer
 ZBAT-TKN-SEL-CLASSNAME   token-type ZSPI-TYP-STRING.!{}
 ZBAT-MAP-DEF-CLASS
 Definition ZBAT-DDL-DEF-CLASS.
 02 ZINITIATION    type ZSPI-DDL-BOOLEAN.!{}
 End
 ZSPI-TKN-COMMENT    token-type ZSPI-TYP-STRING.
Tokens in Response Buffer 
 ZSPI-TKN-DATALIST    token-type ZSPI-TYP-LIST.
 ZBAT-TKN-SEL-CLASSNAME   token-type ZSPI-TYP-STRING.
 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.










