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

ZSPI Data Definitions
SPI Programming Manual427506-006
4-35
Token Codes
ZSPI-TKN-DELETE
ZSPI-TKN-DELETE directs SSPUT to delete a specified token from the buffer. Its
token type is ZSPI-TYP-TOKENCODE.
ZSPI-TKN-ENDLIST
ZSPI-TKN-ENDLIST ends the current list (of any type). Its token type is ZSPI-TYP-
SSCTL.
Calling SSGET with ZSPI-TKN-ENDLIST pops out of the list. Calling SSPUT with
ZSPI-TKN-ENDLIST places that token in the buffer, thus ending the list, and pops out
of the list.
ZSPI-TKN-ERRLIST
ZSPI-TKN-ERRLIST begins a list that encloses information about an error. Its token
type is ZSPI-TYP-LIST. Calling SSGET with ZSPI-TKN-ERRLIST selects the next list
that begins with that token, so that tokens within it can be read; calling SSPUT with this
token places it in the buffer, thus starting a new error list.
ZSPI-TKN-ERROR
ZSPI-TKN-ERROR is a token, returned within an error list in a response, that identifies
an error detected by a subsystem. Its token type is ZSPI-TYP-ERROR. Its value
consists of the subsystem ID of the subsystem that found the error, followed by the
token-code ZSPI-TKN-DELETE
value ZSPI-TNM-DELETE
token-type ZSPI-TYP-TOKENCODE.
token-code ZSPI-TKN-ENDLIST
value ZSPI-TNM-ENDLIST
token-type ZSPI-TYP-SSCTL
ssid ZSPI-VAL-NULL-EXT-SSID
heading "End_of_list".
token-code ZSPI-TKN-ERRLIST
value ZSPI-TNM-ERRLIST
token-type ZSPI-TYP-LIST
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Error_list".
token-code ZSPI-TKN-ERROR
value ZSPI-TNM-ERROR
token-type ZSPI-TYP-ERROR
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Error".