SPI Programming Manual (G06.24+, H06.03+, J06.03+)
The SPI Procedures
SPI Programming Manual—427506-006
3-2
Special Operations
The SSIDTOTEXT and TEXTTOSSID procedures perform these functions:
Special Operations
The SSPUT(TKN) and SSGET(TKN) procedures can perform special operations in
addition to their primary functions. Applications request special operations by
specifying special token codes in the procedure calls. Special token codes and the
operations they request are listed with each procedure description.
Manipulating Header Tokens
The SSPUT(TKN) and SSGET(TKN) procedures can also modify and retrieve the
values of some SPI message header tokens, as indicated in the procedure
descriptions.
Procedure Status
The procedure calls return a status code that summarizes the outcome of procedure
processing:
These codes are described in Appendix A, Errors
.
SSIDTOTEXT Converts an internal form subsystem ID to its external representation
TEXTTOSSID Finds an external representation of a subsystem ID and converts it to the
internal representation
0 No error
–1 Invalid buffer format
–2 Invalid parameter value
–3 Missing parameter
–4 Invalid parameter address
–5 Buffer full
–6 Invalid checksum
–7 Internal error
–8 Token not found
–9 Invalid token code or map
–10 Invalid subsystem ID
–11 Operation not supported
–12 Insufficient stack space