File Utility Program (FUP) Management Programming Manual

ORSERV Commands and Responses
File Utility Program (FUP) Management Programming Manual523322-001
5-2
GETVERSION Command
GETVERSION Command
The GETVERSION command returns the ORSERV server version in the ZSPI-TKN-
SERVER-VERSION token (in the SPI header) and the server ID string in the ZSPI-
TKN-SERVER-BANNER token.
Tokens in the Command Buffer
ZSPI-TKN-COMMENT
is the standard SPI token that lets you include an 80-byte arbitrary comment in the
command buffer. Although ORSERV ignores ZSPI-TKN-COMMENT in the
command buffer, the token can be useful when you are debugging an application.
Tokens in the Response Buffer
ZSPI-TKN-SERVER-BANNER
is a 50-character string that contains the standard version ID of the ORSERV
server, the ORSERV release date, and the ORSERV compilation date:
ORSERV - T9074vff - release-date - compilation-date
where:
vff
is the ORSERV version ID. An example is D40.
Command
ZORS-CMD-GETVERSION
Object Type
ZORS-OBJ-NULL
Tokens in the Command Buffer
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in the Response Buffer
ZSPI-TKN-SERVER-BANNER token-type ZSPI-TYP-CHAR50.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-RETCODE.
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.