TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-390
#SSPUT Built-In Function
It clears the last-error information to null values (equivalent to the action of
ZSPI^TKN^CLEARERR).
It resets the current position to the beginning of the buffer (equivalent to the action
of ZSPI^TKN^INITIAL^POSITION with ZSPI^VAL^INITIAL^BUFFER).
If token-value is less than the actual number of bytes used in the buffer, as given in
the header token ZSPI^TKN^USEDLEN, this operation returns an SPI error -5 (buffer
full). SPI still resets the maximum buffer length in the SPI message header, causing
subsequent calls for that buffer to fail with error -1 (invalid buffer format).
ZSPI^TKN^SERVER^VERSION. Use this token code to set the header field
containing the RVU of the server. For token-value, supply an unsigned integer that
represents the appropriate RVU. For example, if the server is a running RVU C20,
specify token-value as the unsigned integer 17172, representing a “C” (character
number 67) in the left byte (256 x 67 = 17152) and 20 in the right byte.