File Utility Program (FUP) Management Programming Manual

FUP Commands and Responses
File Utility Program (FUP) Management Programming Manual523322-001
3-22
GETVERSION Command
GETVERSION Command
The GETVERSION command returns the FUP server version in the ZSPI-TKN-
SERVER-VERSION token (in the SPI header) and the server ID string in the token
ZSPI-TKN-SERVER-BANNER.
Tokens in the Command Buffer
ZSPI-TKN-COMMENT
is the standard SPI token that allows you to include an 80-byte arbitrary comment
in the command buffer. Although FUP 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 version ID of the FUP server, the FUP
release date, and the FUP compilation date as follows:
FUP - T9074vff - release-date - compilation-date
where:
vff
is the FUP version ID. An example is D40.
Command
ZFUP-CMD-GETVERSION
Object Type
None.
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-ERRLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.