TS/MP Management Programming Manual (G06.24+, H06.03+)
SPI Programming Considerations
NonStop TS/MP Management Programming Manual—540082-001
3-13
Types for Fields in Structured Tokens
Corresponding C pragma for ZPWY-DDL-DEF-SCASSIGN:
Types for Fields in Structured Tokens
Many token types are built on more elementary types that are defined in the DDL
before the extensible structured token is defined.
For example, the command-modifier token ZPWY-DDL-PAR-FREEZE-SC has the
DDL definition:
Within ZPWY-DDL-PAR-FREEZE-SC, the ZIGNORESTOPMODE field has the type
ZPWY-DDL-YES-NO. This type is defined previously in the Pathway DDL definitions
file (ZPWYDDL) as:
To further expand the definition, look up ZSPI-DDL-BOOLEAN in the SPI definitions
file (ZSPIDDL). The definition for ZSPI-DDL-BOOLEAN is:
Consequently, ZIGNORESTOPMODE is an on/off value.
ZDUMPFILE has the SPI type ZSPI-DDL-FNAME32. The definition for
ZSPI-DDL-FNAME32 in the ZSPIDDL file is:
#pragma fieldalign shared2 __zpwy_ddl_def_scassign
typedef struct __zpwy_ddl_def_scassign
{
zspi_ddl_fname32_def zguardianfile;
struct
{
zspi_ddl_int2_def zprimary;
zspi_ddl_int2_def zsecondary;
} zextentsize;
zspi_ddl_int2_def zfilecode;
zspi_ddl_int_def zexclusion;
zspi_ddl_int_def zaccess;
zspi_ddl_int_def zrecordsize;
zspi_ddl_int_def zblocksize;
ZPWY-MAP-PAR-FREEZE-SC
def ZPWY-DDL-PAR-FREEZE-SC.
02 ZIGNORESTOPMODE token-type ZPWY-DDL-YES-NO.
end.
def ZPWY-DDL-YES-NO token-type ZSPI-DDL-BOOLEAN.
def ZSPI-DDL-BOOLEAN token-type LOGICAL.
def ZSPI-DDL-FNAME32.
02 Z-SYSNAME token-type ZSPI-DDL-CHAR8.
02 Z-LOCALNAME token-type ZSPI-DDL-FNAME.
end.