X25AM Management Programming Manual

Common Definitions
X25AM Management Programming Manual528037-001
5-10
Private Token and Field Types
ZX25-DDL-MSG-MAXBUFFER
is a message buffer whose size is that recommended for responses in which each
reply message contains multiple response records.
Private Token and Field Types
The X25AM subsystem defines the following fixed structures that are used in other
definitions.
ZX25-DDL-CHAR15
is a fifteen-character structure, addressable as a structure, as bytes, or as integers.
It is defined as follows:
ZX25-DDL-FILLER
is a one-character structure used as filler for word-alignment of fields within
extensible structured tokens. It is defined as follows:
def ZX25-DDL-MSG-BUFFER.
02 Z-MSGCODE type ZSPI-DDL-INT.
02 Z-BUFLEN type ZSPI-DDL-UINT.
02 Z-OCCURS type ZSPI-DDL-UINT.
02 Z-FILLER type ZSPI-DDL-BYTE
occurs 0 to ZX25-VAL-BUFLEN times
depending on Z-OCCURS.
end.
def ZX25-DDL-MSG-MAXBUFFER.
02 Z-MSGCODE type ZSPI-DDL-INT.
02 Z-BUFLEN type ZSPI-DDL-UINT.
02 Z-OCCURS type ZSPI-DDL-UINT.
02 Z-FILLER type ZSPI-DDL-BYTE
occurs 0 to ZX25-VAL-MAXBUFLEN times
depending on Z-OCCURS.
end.
def ZX25-DDL-CHAR15.
02 Z-S.
04 Z-I type binary 16 occurs 7 times.
04 filler pic x.
02 Z-B redefines Z-S pic x occurs 15 times.
end.
def ZX25-DDL-FILLER pic x spi-null " ".