SPI Common Extensions Manual

ZCOM Data Definitions
SPI Common Extensions Manual427508-001
4-2
ZCOM Definitions
description
is a descriptive name for the item and can contain additional hyphens.
Most definitions in this section are based on structures and types defined by the basic
Subsystem Programmatic Interface (SPI), so you will encounter declarations of the
types ZSPI-DDL-description and ZSPI-TYP-description throughout. For
descriptions of these declaration types, see the
SPI Programming Manual
.
ZCOM Definitions
This subsection lists ZCOM-type-description definitions:
ZCOM Data Structures
ZCOM-DDL-description is a data-structure definition. (For descriptions of data
definitions used in extensible structured tokens, see the maps in which they occur. See
ZCOM Maps on page 4-19.)
ZCOM-DDL-MAX-MSG-BUFFER
This definition provides a structure for a command message. The structure is used in
COBOL programs. The buffer length, Z-BUFLEN, is ZCOM-VAL-MAX-BUF-LEN (3900
bytes, the largest allowed buffer size). The message code, Z-MSGCODE, is ZSPI-VAL-
MSGCODE (-28).
ZCOM Type Syntax Page
ZCOM Data Structures
ZCOM-DDL-... 4-2
ZCOM Tokens ZCOM-TKN-... 4-3
ZCOM Maps ZCOM-MAP-... 4-19
ZCOM Commands ZCOM-CMD-... 4-20
ZCOM Object Types ZCOM-OBJ-... 4-20
ZCOM Events ZCOM-EVT-... 4-24
ZCOM Errors ZCOM-ERR-... 4-24
Retired ZCOM Definitions (various) 4-26
def ZCOM-DDL-MAX-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 ZCOM-VAL-MAX-BUF-LEN times
depending on Z-OCCURS.
end