AM3270 Management Programming Manual
 COMMON DEFINITIONS
 AM3270 Buffer Declarations
 COMMON DEFINITIONS FOR THE AM3270 SUBSYSTEM
 Definitions whose names begin with ZAM3- are AM3270 definitions.
 The definitions that appear in several commands or responses
 are described in this section. Information that is specific
 to particular commands or responses is discussed in Section 6,
 "Commands and Responses." Definitions are listed in alphabetical
 order within each category.
 AM3270 Buffer Declarations
 The AM3270 subsystem provides the following buffer declarations
 for message buffers that can be used with the SPI procedures.
 All applications should use one of these declarations for a
 buffer of the recommended size.
 ZAM3-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 ZAM3-DDL-MSG-BUFFER.
 02 Z-MSGCODE type ZSPI-TYP-INT.
 02 Z-BUFLEN type ZSPI-TYP-UINT.
 02 Z-OCCURS type ZSPI-DDL-UINT.
 02 Z-FILLER type ZSPI-DDL-BYTE
 occurs 0 to ZCOM-VAL-BUFLEN times
 depending on Z-OCCURS.
 end.
 ZAM3-DDL-MSG-MAXBUFFER is a message buffer whose size is that
 recommended for responses in which each reply message contains
 multiple response records.
 def ZAM3-DDL-MSG-MAX-BUF.
 02 Z-MSGCODE type ZSPI-TYP-INT.
 02 Z-BUFLEN type ZSPI-TYP-UINT.
 02 Z-OCCURS type ZSPI-DDL-UINT.
 02 Z-FILLER type ZSPI-DDL-BYTE
 occurs 0 to ZCOM-VAL-MAXBUFLEN times
 depending on Z-OCCURS.
 end.
 5-17










