SPI Common Extensions Manual

Commands and Responses
SPI Common Extensions Manual427508-001
5-6
Common Response Tokens
Common Response Tokens
Most of the tokens associated with a response are the same for every response.
Tokens from the command-message header are put in the response header. ZSPI-
TKN-SERVER-VERSION is also put in the response header.
ZSPI-TKN-DATALIST
indicates the beginning of a data list. One response record is contained in each
data list (except in the case of a segmented response, where a data list can
contain part of a response record). ZSPI-TKN-ENDLIST indicates the end of the
data list. The presence of ZSPI-TKN-DATALIST and ZSPI-TKN-ENDLIST depends
on the value of ZSPI-TKN-MAXRESP. Neither ZSPI-TKN-DATALIST nor ZSPI-
TKN-ENDLIST is present if ZSPI-TKN-MAXRESP is 0.
ZSPI-TKN-MANAGER
specifies the name of the subsystem process that processed the request.
ZCOM-TKN-XMGR (D-series)
specifies the name of the subsystem process that processed the request. It is
encountered, although not exclusively, in environments containing D-series
systems.
Common Response Tokens
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32
or
ZCOM-TKN-XMGR token-type ZSPI-TYP-STRING
ZSPI-TKN-RETCODE token-type ZSPI-TYP-INT
ZCOM-TKN-OBJTYPE token-type ZSPI-TYP-ENUM
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING
subsys-type-name token-type subsys-defined
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST
ZSPI-TKN-ERROR token-type ZSPI-TYP-ENUM
ZCOM-TKN-OBJTYPE token-type ZSPI-TYP-ENUM
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING