SPI Programming Manual (G06.24+, H06.03+, J06.03+)

ZSPI Data Definitions
SPI Programming Manual427506-006
4-8
Fundamental Data Structures
ZSPI-DDL-FNAME32
ZSPI-DDL-FNAME32 defines a 32-byte internal file name.
ZSPI-DDL-HEADER
ZSPI-DDL-HEADER defines an SPI message header.
ZSPI-DDL-INT
ZSPI-DDL-INT defines a 16-bit signed integer.
ZSPI-DDL-INT-PAIR
ZSPI-DDL-INT-PAIR defines a pair of 16-bit integers.
ZSPI-DDL-INT2
ZSPI-DDL-INT2 defines a 32-bit signed integer.
def ZSPI-DDL-FNAME32 tacl fname32.
02 Z-SYSNAME type ZSPI-DDL-CHAR8.
02 Z-LOCALNAME type ZSPI-DDL-FNAME.
end
def ZSPI-DDL-HEADER.
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 94 times
depending on Z-OCCURS.
end
def ZSPI-DDL-INT type binary 16 spi-null 0.
def ZSPI-DDL-INT-PAIR.
02 Z-INT type ZSPI-DDL-INT occurs 2 times.
end
def ZSPI-DDL-INT2 type binary 32 spi-null 0.