X25AM Management Programming Manual

Commands and Responses
X25AM Management Programming Manual528037-001
6-64
GETVERSION Command
GETVERSION Command
The GETVERSION command returns the server version and server-banner string of
the X25AM subsystem.
Tokens in Command Buffer
ZSPI-TKN-MANAGER
is a standard SPI manager token that contains the name of an X25AM line. This
token is not required to be present in the command, and duplicate occurrences are
not allowed. ZSPI-TKN-MANAGER is described in Section 5, Common Definitions.
ZCOM-TKN-CMD-TIMEOUT and ZCOM-MAP-REQID
are standard data communications tokens that are described in the SPI Common
Extensions Manual. Duplicate occurrences of these tokens are not allowed.
Command
ZCOM-CMD-GETVERSION
Object Type
ZCOM-OBJ-NULL
Tokens in Command Buffer
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32.
ZCOM-TKN-CMD-TIMEOUT token-type ZSPI-TYP-TIMESTAMP.
ZCOM-MAP-REQID
def ZCOM-DDL-REQID.
02 ZCRTPID type ZSPI-DDL-CRTPID. !{}
02 ZPAID type ZSPI-DDL-INT. !{}
end.
ZSPI-TKN-MAXRESP token-type ZSPI-TYP-INT. !{}
ZSPI-TKN-RESPONSE-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ALLOW-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in Response Buffer
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZSPI-TKN-SERVER-BANNER token-type ZSPI-TYP-CHAR50.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.