TS/MP Management Programming Manual (G06.24+, H06.03+)

SPI Programming Considerations
NonStop TS/MP Management Programming Manual540082-001
3-10
Extensible Structured Tokens
Extensible Structured Tokens
This is a sample DDL definition for an extensible structured token that defines the
attributes for a program. The TAL, COBOL, TACL, and C code generated follows the
DDL definition.
DDL definition for ZPWY-DDL-DEF-SCASSIGN.
Note. The TAL, COBOL, TACL, and C codes redefine each character field (Z^C and Z-C in
the examples) as an integer array and as an array of individual bytes to accommodate certain
NonStop operating system procedures. For clarity, the redefinitions have been removed from
the example.
def ZPWY-DDL-DEF-SCASSIGN.
02 ZGUARDIANFILE token-type ZSPI-DDL-
FNAME32.
02 ZEXTENTSIZE.
03 ZPRIMARY token-type ZSPI-DDL-INT2.
03 ZSECONDARY token-type ZSPI-DDL-INT2.
02 ZFILECODE token-type ZSPI-DDL-INT2.
02 ZEXCLUSION token-type ZSPI-DDL-INT.
02 ZACCESS token-type ZSPI-DDL-INT.
02 ZRECORDSIZE token-type ZSPI-DDL-INT.
02 ZBLOCKSIZE token-type ZSPI-DDL-INT.
end.