File Utility Program (FUP) Management Programming Manual

ORSERV Programmatic Interface
File Utility Program (FUP) Management Programming Manual523322-001
4-11
Standard SPI Token Types
Token Maps and Structured Tokens
A token map is a variable-length integer array that contains decoding information and a
reference name for an extensible structured token. A token map contains a token code
and a description of the token value—including the token fields, the null values for the
fields, and the version number for the fields. An application uses a token map to pass
information in an extensible structured token to ORSERV.
Field Types
ORSERV uses standard SPI field types that are represented using the form
ZSPI-DDL-name (name specifies the field type). An example of this is the message
buffer ZORS-DDL-MSG-BUFFER.
Event Messages
Although ORSERV does not report event messages to the Event Management Service
(EMS), event messages might be generated by the NonStop Kernel or the disk
process when you use the programmatic interface to ORSERV.
Standard SPI Token Types
Note. For more information about ORSERV token maps and structured tokens, see Section 5,
ORSERV Commands and Responses.
Note. For more information on event messages, see the Operator Messages Manual.
Table 4-2. Standard SPI Token Types Used by ORSERV (page 1 of 2)
Token Type Description
ZSPI-TYP-BOOLEAN 16-bit signed Boolean value
ZSPI-TYP-BYTE 8-bit unsigned integer
ZSPI-TYP-BYTESTRING String of 8-bit unsigned integers
ZSPI-TYP-CHAR 8-bit ASCII character
ZSPI-TYP-CHAR-PAIR Pair of 8-bit ASCII characters
ZSPI-TYP-CHAR8 Eight 8-bit ASCII characters
ZSPI-TYP-CHAR24 Twenty-four 8-bit ASCII characters
ZSPI-TYP-CHAR50 Fifty 8-bit ASCII characters
ZSPI-TYP-DEVICE 8-byte internal device name
ZSPI-TYP-ENUM 16-bit signed enumerated value
ZSPI-TYP-ERROR SPI error token
ZSPI-TYP-FLT2 64-bit floating-point number
ZSPI-TYP-FNAME 24-byte internal file name
ZSPI-TYP-INT 16-bit signed integer