Sample Schemas
Data Definition Language (DDL) Reference Manual — 426798-002
B -10
ASSNDDL Statements
OCCURS VARYING.
TOKEN-CODE zspi-tkn-command VALUE IS zspi-tnm-command
TOKEN-TYPE IS zspi-typ-enum.
TOKEN-CODE zspi-tkn-retcode VALUE IS zspi-tnm-retcode
TOKEN-TYPE IS zspi-typ-enum.
ASSNDDL Statements
The following DDL statements are in the sample DDL file ASSNDDL. They are the
statements needed by the sample subsystem in addition to those provided by
ZSPIDEF.ZSPIDDL.
? SECTION assn-defs
DEF assn-variable-token.
02 table-size TYPE zspi-ddl-int.
02 data-table TYPE zspi-ddl-int2 OCCURS 100
TIMES.
END
DEF assn-ddl-jobinfo.
02 jnumber TYPE zspi-ddl-int.
02 priority TYPE zspi-ddl-int.
02 location TYPE zspi-ddl-char8 SPI-NULL "X".
02 jobclass-is-present TYPE zspi-ddl-boolean.
02 jobclass TYPE zspi-ddl-int.
02 jobusername TYPE zspi-ddl-username.
END
?SECTION assn-token-info
! Constants to define token numbers:
CONSTANT assn-tnm-my-status VALUE IS 101.
CONSTANT assn-tnm-stat-reply VALUE IS 102.
CONSTANT assn-tnm-jobinfo VALUE IS 3.
! Constants for subsystem-ID:
CONSTANT assn-val-yourco VALUE IS "YOUR-CO ".
CONSTANT assn-ssn-assn VALUE IS 1.
CONSTANT assn-val-version VALUE IS VERSION "D30".
! Constant for buffer length:
CONSTANT assn-val-buflen VALUE IS 600.
! Token-type definitions:
TOKEN-TYPE assn-typ-variable-token VALUE IS zspi-tdt-int2
OCCURS VARYING
DEF IS assn-variable-token.
TOKEN-TYPE assn-typ-status VALUE IS zspi-tdt-enum
DEF IS zspi-ddl-enum.
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...