SPI Programming Manual (G06.24+, H06.03+, J06.03+)

ZSPI Data Definitions
SPI Programming Manual427506-006
4-39
Token Codes
ZSPI-TKN-MAXRESP
ZSPI-TKN-MAXRESP contains a value indicating the number of response records the
requester accepts in a response message. This value can be set using SSINIT or
SSPUT, and can be retrieved using SSGET. For more information, see Multirecord
Responses on page 2-30.
ZSPI-TKN-MORE-DATA
A server uses this token to tell a requester whether or not the current segment
completes the response record. If this token has the value TRUE, the record is
incomplete and more segment lists are available. If this token has the value FALSE, or
if the token is not in the segment, the segment completes the response record.
ZSPI-TKN-NEXTCODE
ZSPI-TKN-NEXTCODE directs SSGET to get the next token code in the buffer that is
different from the current token code. Its token type is ZSPI-TYP-TOKENCODE.
ZSPI-TKN-NEXTTOKEN
ZSPI-TKN-NEXTTOKEN directs SSGET to get the very next token code in the buffer,
whether or not it is different from the current token code. Its token type is ZSPI-TYP-
TOKENCODE.
token-code ZSPI-TKN-MAXRESP
value ZSPI-TNM-MAXRESP
token-type ZSPI-TYP-INT
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Max_responses".
token-code ZSPI-TKN-MORE-DATA
value ZSPI-TNM-MORE-DATA
token-type ZSPI-TYP-BOOLEAN
ssid ZSPI-VAL-NULL-EXT-SSID
heading "More_data_available".
token-code ZSPI-TKN-NEXTCODE
value ZSPI-TNM-NEXTCODE
token-type ZSPI-TYP-TOKENCODE
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Nextcode".
token-code ZSPI-TKN-NEXTTOKEN
value ZSPI-TNM-NEXTTOKEN
token-type ZSPI-TYP-TOKENCODE
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Nexttoken".