NetBatch Management Programming Manual

Common Definitions
NetBatch Management Programming Manual522462-003
4-12
NetBatch Buffer Declarations
NetBatch Buffer Declarations
The NetBatch subsystem provides these buffer declarations for message buffers you
can use with the SPI procedures. All applications must use one of these declarations
for a buffer of the recommended size.
ZBAT-DDL-MSG-BUFFER
is a message buffer of the size recommended for commands, responses, and
event messages. It has the structure:
ZBAT-DDL-MSG-BUFFER-MAX
is a message buffer of the maximum size recommended for commands,
responses, and event messages. It has the structure:
ZBAT-DDL-MSG-BUFFER-MIN
is a message buffer of the minimum size recommended for commands, responses,
and event messages. It has the structure:
Definition ZBAT-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 FILLER Type Binary 8 Unsigned
Occurs 0 to ZBAT-VAL-BUFLEN
times depending on Z-OCCURS.
End
Definition ZBAT-DDL-MSG-BUFFER-MAX.
02 Z-MSGCODE Type ZSPI-DDL-INT.
02 Z-BUFLEN Type ZSPI-DDL-UINT.
02 Z-OCCURS Type ZSPI-DDL-UINT.
02 FILLER Type Binary 8 Unsigned
Occurs 0 to ZBAT-VAL-BUFLEN-MAX
times depending on Z-OCCURS.
End
Definition ZBAT-DDL-MSG-BUFFER-MIN.
02 Z-MSGCODE Type ZSPI-DDL-INT.
02 Z-BUFLEN Type ZSPI-DDL-UINT.
02 Z-OCCURS Type ZSPI-DDL-UINT.
02 FILLER Type Binary 8 Unsigned
Occurs 0 to ZBAT-VAL-BUFLEN-MIN
times depending on Z-OCCURS.
End