Distributed Name Service (DNS) Management Programming Manual

GETVERSION Command
Using DNS in Programs: The DNS Commands
5–108 46958 Tandem Computers Incorporated
GETVERSION
Command
The GETVERSION command obtains version information about a DNS process.
Command
ZDNS-CMD-GETVERSION
Object Type
ZDNS-OBJ-DNS (null value)
Tokens in Command Buffer
None
Tokens in Response Buffer
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM
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
Tokens in Response Buffer
ZSPI-TKN-RETCODE
is the standard SPI return token described in the Distributed Systems Management
(DSM) Programming Manual. This token is present in every response record. If its
value is zero (ZDNS-ERR-NOERR), this token indicates that the version is
successfully retrieved. If ZSPI-TKN-RETCODE is not zero, the version is not
retrieved. Where a non-zero return code is present, the response buffer may
contain one or more error lists. Even if the return code is zero, the response may
still contain error lists which describe warnings.
ZSPI-TKN-ERRLIST
is a standard SPI error list, as described in the Distributed Systems Management
(DSM) Programming Manual. The list ends with the token ZSPI-TKN-ENDLIST.