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

ZSPI Data Definitions
SPI Programming Manual427506-006
4-37
Token Codes
ZSPI-TKN-LASTERR
ZSPI-TKN-LASTERR records the last nonzero status code returned by an SPI
procedure while processing this buffer. This value is set by the procedure that detected
the error and can be retrieved using SSGET. This value can be cleared using the
special SSPUT operation ZSPI-TKN-CLEARERR.
ZSPI-TKN-LASTERRCODE
ZSPI-TKN-LASTERRCODE records the token code of the token involved in the last
nonzero status code returned by an SPI procedure while processing this buffer. This
value is set by the procedure that detected the error and can be retrieved using
SSGET. This value can be cleared using the special SSPUT operation ZSPI-TKN-
CLEARERR.
ZSPI-TKN-LASTPOSITION
ZSPI-TKN-LASTPOSITION contains the position of the last token that was added to
the buffer by SSPUT. You can retrieve this position using SSGET.
ZSPI-TKN-LEN
ZSPI-TKN-LEN directs SSGET to get the length, in bytes, of a specific token value. Its
token type is ZSPI-TYP-TOKENCODE.
token-code ZSPI-TKN-LASTERR
value ZSPI-TNM-LASTERR
token-type ZSPI-TYP-LASTERR
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Last_error".
token-code ZSPI-TKN-LASTERRCODE
value ZSPI-TNM-LASTERRCODE
token-type ZSPI-TYP-TOKENCODE
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Last_error_tkncode".
token-code ZSPI-TKN-LASTPOSITION
value ZSPI-TNM-LASTPOSITION
token-type ZSPI-TYP-POSITION
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Last_token_position".
token-code ZSPI-TKN-LEN
value ZSPI-TNM-LEN
token-type ZSPI-TYP-TOKENCODE
ssid ZSPI-VAL-NULL-EXT-SSID
heading "Token_length".