WAN Manager SPI Programming Guide
Communicating With the WAN Manager Process
WAN Manager SPI Programming Guide—540013-001
2-2
Sending a Command Message
header-type
is the value of ZSPI-VAL-CMDHDR, which specifies the type of SPI buffer. This 
value is always zero.
command
is the value of ZSPI-TKN-COMMAND.
object-type
is the value of ZSPI-TKN-OBJECT-TYPE.
max-resp
is the value of ZSPI-TKN-MAXRESP.
server-version
is the value of ZSPI-TKN-SERVER-VERSION.
checksum
is the value of ZSPI-TKN-CHECKSUM.
max-field-version
is the value of ZSPI-TKN-MAX-FIELD-VERSION.
4. Call the SSPUT or SSPUTTKN procedure to add a token to the buffer. The two 
procedures are identical except that SSPUT passes a token ID by reference and 
SSPUTTKN passes it by value. If the management application interacts with the 
SCP, you must add a token named ZSPI-TKN-MANAGER, which identifies the 
target subsystem. For the WAN manager, the token's value is always $ZZWAN.
5. Call the WRITEREAD procedure to send the command buffer to the WAN 
manager.
Note. The management application includes a token ZSPI-TKN-ALLOW-TYPE in the 
command buffer, based on the command at the SCF prompt, which can be ALLOW ALL, 
ALLOW NO ERRORS, and ALLOW NO WARNINGS. The management application also 
includes a token ZCOM-TKN-CMD-TIMEOUT in a command buffer, to specify the number of 
microseconds an SCP process waits for a response from the subsystem to which SCP 
forwarded the command. If this time is exceeded and the command has not been completed, 
the command is canceled.










