OSI/TS Management Programming Manual

OSI/TS Definitions
Common Definitions
056786 Tandem Computers Incorporated 4–15
OSI/TS Definitions Definitions whose names begin with ZOS4 are OSI/TS definitions. These definitions
consist of simple tokens and extensible structured tokens used in OSI/TS commands
and responses. They are provided in the ZSPIDEF.ZOS4DDL file and in the
corresponding files for other languages.
The OSI/TS definitions that appear in several commands, responses, or event
messages are described in the following subsections. Information specific to a
particular command, response, or event message is discussed in the individual
command and event-message descriptions in Sections 5 and 6, respectively.
Appendix B provides a complete list of all OSI/TS simple and extensible structured
tokens and gives the token type or token map name for each.
Buffer Declarations The OSI/TS subsystem provides the following buffer declarations for SPI message
buffers.
ZOS4-DDL-MSG-BUFFER
is a message buffer whose size is that recommended for command messages and
for responses in which each reply message contains a single response record.
def ZOS4-DDL-MSG-BUFFER.
02 Z-MSGCODE type ZSPI-DDL-INT.
02 Z-BUFLEN type ZSPI-DDL-INT.
02 Z-OCCURS type ZSPI-DDL-INT.
02 Z-FILLER type ZSPI-DDL-BYTE
occurs 0 to ZOS4-VAL-BUFLEN
times depending on Z-OCCURS.
end.
ZOS4-VAL-BUFLEN
is the same size as ZCOM-VAL-BUFLEN, the recommended buffer size for data
communications subsystems.
ZOS4-DDL-MAX-MSG-BUF
is a message buffer of the maximum allowable size.
def ZOS4-DDL-MAX-MSG-BUF.
02 Z-MSGCODE type ZSPI-DDL-INT.
02 Z-BUFLEN type ZSPI-DDL-INT.
02 Z-OCCURS type ZSPI-DDL-INT.
02 Z-FILLER type ZSPI-DDL-BYTE
occurs 0 to ZOS4-VAL-MAX-BUFLEN
times depending on Z-OCCURS.
end.