SPI Reference Summary

SPI Procedures and Functions
SPI Reference Summary427507-006
2-3
SSPUT and SSPUTTKN Procedures
Special Operations Tokens for SSPUT and SSPUTTKN
The call syntax follows the token code description.
ZSPI-TKN-DELETE
Use this token code to delete a particular token or a list from the buffer.
token-code
is the token code of the token to be deleted. If token-code is ZSPI-TKN-LIST,
-DATALIST, -ERRLIST, or -SEGLIST, the entire list is deleted.
ssid
can be included to qualify token-code.
Token Type Operation
ZSPI-TKN-BUFLEN UINT Modifies buffer length
ZSPI-TKN-CHECKSUM BOOLEAN Enables or disables buffer
checksum
ZSPI-TKN-CLEARERR SSCTL Clears last-error information to
zero
ZSPI-TKN-DATA-FLUSH SSCTL Flushes tokens starting at current
position
ZSPI-TKN-DELETE TOKENCODE Deletes a token from the buffer
ZSPI-TKN-INITIAL-POSITION BOOLEAN Resets position to start of buffer or
list
ZSPI-TKN-MAX-FIELD-VERSION UINT Maximum field version
ZSPI-TKN-MAXRESP INT Sets maximum-responses header
token
ZSPI-TKN-POSITION POSITION Restores previously saved position
ZSPI-TKN-RESET-BUFFER UINT Resets buffer
ZSPI-TKN-SERVER-VERSION UINT Sets server version header token
SSPUT ( buffer
SSPUTTKN, ZSPI-TKN-DELETE
, token-code, ! i
, index, ! i
, [ ssid ] ) ! i