Expand Management Programming Manual

COMMON DEFINITIONS
Common Definitions for the EXPAND Subsystem
Information about EXPAND definitions that is specific to particu-
lar commands, responses, or event messages is discussed in
Section 7, "Commands and Responses," and in Section 8, "Event
Management."
Buffer Declarations
The EXPAND 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.
ZEXP-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, with the
exception of the PROBE command and the INFO command with ZEXP-
TKN-INFO-NCP-OPT specified.
def ZEXP-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 ZEXP-VAL-BUFLEN times
depending on Z-OCCURS.
end.
ZEXP-DDL-MSG-BUFFER-MAXLEN is a message buffer whose size is
that recommended for responses in which each reply message
contains multiple response records, and also for responses to the
PROBE command and to the INFO command with ZEXP-TKN-INFO-NCP-OPT
specified.
def ZEXP-DDL-MSG-BUFFER-MAXLEN.
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 ZEXP-VAL-MAXBUFLEN times
depending on Z-OCCURS.
end.
6-9