OSI/TS Management Programming Manual

OSI/TS Definitions
Common Definitions
4–16 056786 Tandem Computers Incorporated
ZOS4-VAL-MAX-BUFLEN
is the same size as ZCOM-VAL-MAX-BUFLEN, the maximum buffer size for data
communications subsystems.
ZOS4-DDL-MIN-MSG-BUF
is a message buffer of the minimum size recommended for OSI/TS commands,
responses, and event messages.
def ZOS4-DDL-MIN-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-MIN-BUFLEN
times depending on Z-OCCURS.
end.
ZOS4-VAL-MIN-BUFLEN
is the same size as ZCOM-VAL-BUFLEN, the recommended buffer size for data
communications subsystems.
Character Strings Table 4-19 lists the character string types that are defined by the OSI/TS subsystem.
Table 4-19. OSI/TS Definitions for Character Strings
Character Strings
ZOS4-DDL-CHAR12 ZOS4-DDL-CHAR40
ZOS4-DDL-CHAR14 ZOS4-DDL-CHAR64
ZOS4-DDL-CHAR12
is a 12-character structure whose fields are addressable either as string-type or as
integer-type values. It is defined as follows:
def ZOS4-DDL-CHAR12.
02 Z-C pic x(12) spi-null " ".
02 Z-S redefines Z-C.
04 Z-I type binary 16 occurs 6 times.
02 Z-B redefines Z-C pic x occurs 12 times.
end.