SPI Programming Manual (G06.24+, H06.03+, J06.03+)

SPI Concepts and Protocol
SPI Programming Manual427506-006
2-6
Token Names
Token Names
Every token code has a symbolic token name, a meaningful name of the form subsys-
TKN-name, where subsys identifies the subsystem responsible for the definition and
name describes the content or function of the token. Programs refer to tokens by these
names, not by their token numbers. Some tokens are defined by SPI (subsys = ZSPI).
ZSPI tokens are described in Section 4, ZSPI Data Definitions. Other tokens are
defined by the Event Management Service (subsys = ZEMS) or by the common SPI
extensions used by many NonStop Kernel subsystems (subsys = ZCOM or ZCMK).
Still others are defined by individual subsystems.
Figure 2-2. Token Length
VST006.vsd
Data Item
Length (n-2)
0
2
n
bytes
Data
Type
255 Token
Number
Variable-Length Token
Fixed-Length Token
0 1 2
n
bytes
Data Item
Data
Type
Length
(n)
Token
Number
VST006.vsd
Data Item
Length (
n
-2)
0
2
n
bytes
Data
Type
255 Token
Number
Variable-Length Token
Fixed-Length Token
0 1 2
n
bytes
Data Item
Data
Type
Length
(
n
)
Token
Number