WAN Manager SPI Programming Guide

Commands and Response Tokens
WAN Manager SPI Programming Guide540013-001
4-2
Body Tokens
Body Tokens
Table 4-2 lists some command body tokens in the SPI command buffer. For a detailed
list of tokens for each WAN manager command, see Section 5, WAN Manager
Commands and Responses.
Table 4-3 lists some response body tokens in the SPI response buffer. For a detailed
list of tokens for each WAN manager command, see Section 5, WAN Manager
Commands and Responses.
Description of Header Tokens
The command and response header tokens are:
ZSPI-TKN-HDRTYPE
contains the header type information. It specifies the type of SPI buffer to initialize.
This parameter determines how SSINIT interprets the parameters that follow it. You
must always enter the value ZSPI-VAL-CMDHDR (0), to indicate the standard
command header (for a command or response). Other values are used internally
by the software for the NonStop server.
ZSPI-TKN-CHECKSUM
contains the buffer checksum flag. If set to 0 (zero), the SPI procedures do not
maintain a buffer checksum. If set to nonzero value, the SPI procedures maintain a
checksum to validate the integrity of the buffer. If you do not supply this parameter
in the call to SSINIT, it defaults to 0 (zero).
Table 4-2. Command Body Tokens
Command Token Token Type
ZCOM-TKN-OBJNAME ZSPI-TYP-STRING
ZSPI-TKN-MANAGER ZSPI-TYP-FNAME32
ZSPI-TKN-ALLOW-TYPE ZSPI-TYP-ALLOW-TYPE
ZCOM-TKN-SUB ZSPI-TYP-ENUM
ZCOM-TKN-SEL-SUMSTATE ZSPI-TYP-INT-PAIR
ZSPI-TKN-CONTEXT ZSPI-TYP-BYTESTRING
Table 4-3. Response Body Tokens
Response Token Token Type
ZSPI-TKN-DATALIST ZSPI-TYP-LIST
ZSPI-TKN-ENDLIST ZSPI-TYP-SSCTL
ZSPI-TKN-ERRLIST ZSPI-TYP-LIST
ZCOM-TKN-RETCODE ZSPI-TYP-INIT