WAN Manager SPI Programming Guide
Introduction
WAN Manager SPI Programming Guide—540013-001
1-2
Data Definition
A token consists of a token code (TKN) and a token value (VAL). A token code in turn
consists of a token type (TYP) and a token number (TNM). A token type consists of a
token data type (TDT) and a token length (TLN). The token data type is the
fundamental data type of the token's value. (For example, ZSPI-TDT-INT signifies a
16-bit signed integer value.) For more information on tokens, see the SPI Programming
Manual.
Data Definition
Tokens and related data elements are defined using the Data Definition Language
(DDL). The DDL compiler translates these definitions into each of the programming
languages that support the SPI interface (for example, C, TAL, PASCAL, and so on).
The data definitions are distributed in standard definition files. The file names begin
with the four-character subsystem abbreviation (for example, ZWANDDL).
Language-specific files are generated from each DDL file, and have names such as
ZSPITAL, ZCOMTAL, ZSPIC, and so on. Type is a three-character mnemonic that
indicates the type of data object that the name represents: a value, object type, or
command.
The data-definition types are:
Objects Controlled by the WAN Manager
The objects addressed by the WAN manager are the ConMgr process, WANBoot
process, Trivial File Transfer Protocol (TFTP) process, SNMP trap multiplexer process,
adapter, server, path, and devices (ATP/CP, AM/TR, SNAX, and so on).
These objects are controlled by the current WAN manager process, which has a
user-defined name. For more information about these objects and how to address
them, see Section 3, WAN Manager SPI Commands.
CMD Command numbers
DDL Data Definition Language (DDL) data-structure definitions
ENM Level 89 items in an enumerated declaration
ERR Error numbers
EVT Event numbers
MAP Extensible structured tokens
OBJ Object-type numbers
SSN Subsystem numbers
TDT Token data types
TKN Token codes
TNM Token numbers
TYP Token types
VAL Token values