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

ZSPI Data Definitions
SPI Programming Manual427506-006
4-9
Fundamental Data Structures
ZSPI-DDL-INT2-PAIR
ZSPI-DDL-INT2-PAIR defines a pair of 32-bit integers.
ZSPI-DDL-INT4
ZSPI-DDL-INT4 defines a 64-bit fixed-point number.
ZSPI-DDL-PARM-ERR
ZSPI-DDL-PARM-ERR defines a structure returned in error lists when an SPI server
reports a parameter error in a command or procedure call made by the server.
Z-TOKENCODE
is the token code, or the first 32 bits of the token map, of the token involved in the
error. Usually this corresponds to the first 32 bits of the
token-id parameter
passed to one of the SPI procedures.
Z-INDEX
Z-INDEX identifies which occurrence of the token was involved in the error when
multiple occurrences of the token are in the buffer. Usually this corresponds to the
index or source-index parameter passed to one of the SPI procedures. If an
index or source-index parameter was not given, Z-INDEX is zero.
Z-OFFSET
Z-OFFSET gives the offset, in bytes from the beginning of the token value, of the
parameter in error. For a simple token, Z-OFFSET is zero. The value of this field
corresponds to the offset given by DDL in a DEFLIST listing.
def ZSPI-DDL-INT2-PAIR.
02 Z-INT2 type ZSPI-DDL-INT2 occurs 2 times.
end
def ZSPI-DDL-INT4 type binary 64 spi-null 0.
def ZSPI-DDL-PARM-ERR.
02 Z-TOKENCODE type ZSPI-DDL-TOKENCODE.
02 Z-INDEX type ZSPI-DDL-UINT.
02 Z-OFFSET type ZSPI-DDL-UINT.
end