DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 44
DEFLIST Command
02 ZIP-CODE Pic "9(5)".
End
?Section CUSTNUM
Definition CUSTNUM Pic "X(4)".
?Section CUSTOMER
Record CUSTOMER.
File is "CUSTOMER" Key-sequenced.
02 CUSTNUM Type *.
02 CUSTNAME Type NAME.
02 CUSTADDR Type ADDR.
Key is CUSTNUM Duplicates not allowed.
Key "CN" is CUSTNAME.
End
Subsequently, the DDL source file can be used to reconstruct the dictionary on another
subvolume:
DEFLIST Command
The DEFLIST command instructs DDL to include in its compiler listing a description of
each definition that is referenced by a DEFINITION or RECORD statement
.
DEFLIST
lists the level number, name, size, and byte offset of definitions referenced by a
DEFINITION or RECORD statement.
NODEFLIST
suppresses the DEFLIST descriptions in the listing. NODEFLIST is the default.
DEFLIST Command Guidelines
The following points are guidelines for using the DEFLIST command:
•
DEFLIST can be useful when a referenced definition is included in generated
source code files.
[ NO ] DEFLIST
30> DDL
!?DICT $data.backup !
!?SOURCE ddlsrc
!EXIT
Open and clear dictionary
Write source to dictionary
VST908.vsd