SPI Programming Considerations
NonStop Pathway/iTS Management Programming Manual—426749-002
3-10
Extensible Structured Tokens
Extensible Structured Tokens
The following is a sample DDL definition for an extensible structured token that defines
the attributes for a program. The TAL, COBOL, TACL, PASCAL, and C code
generated follows the DDL definition.
DDL definition for ZPWY-DDL-DEF-PROG:
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
HP NonStop operating system procedures. For clarity, the redefinitions have been removed
from the example.
def ZPWY-DDL-DEF-PROG.
02 ZERRORABORT type ZPWY-DDL-ON-OFF.
02 ZOWNER type ZPWY-DDL-OWNER-ID.
02 ZPRINTERINFO.
03 ZISATTACHED type ZPWY-DDL-YES-NO.
03 ZPRINTERFILE type ZSPI-DDL-FNAME32.
02 ZSECURITY type ZPWY-DDL-SECURITY-VALUE.
02 ZTCP type ZPWY-DDL-OBJECT-NAME.
02 FILLER type ZPWY-DDL-FILLER.
02 ZTMF type ZPWY-DDL-ON-OFF.
end.