NetBatch Management Programming Manual
Commands and Responses
NetBatch Management Programming Manual—522462-003
5-34
GETVERSION Command
GETVERSION Command
The GETVERSION command returns the NetBatch server version in token ZSPI−
TKN−SERVER−VERSION in the SPI header and the server ID in token ZSPI−TKN−
SERVER−BANNER. 
Tokens in Command Buffer
For information on the tokens present in the command buffer, see Section 4, Common 
Definitions. 
Tokens in Response Buffer
For information on the tokens present in the response buffer, see Section 4, Common 
Definitions. Information about the tokens specific to the GETVERSION command is:
ZSPI−TKN−SERVER−BANNER
is a 50-character string that contains the standard version ID of the NetBatch 
subsystem, the NetBatch release date, and the NetBatch compilation date. 
Operational Note
The GETVERSION command is a nonsensitive command available to all users. 
Command
 ZSPI-CMD-GETVERSION
Object Type
 ZSPI-VAL-NULL-OBJECT-TYPE
Tokens in Command Buffer
 ZSPI-TKN-COMMENT    token-type ZSPI-TYP-STRING.
Tokens in Response Buffer
 ZSPI-TKN-DATALIST    token-type ZSPI-TYP-LIST.
 ZSPI−TKN−SERVER−BANNER    token-type ZSPI-TYP-CHAR50.
 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.










