Deflist Command - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
02 ZIP-CODE
End
?Section CUSTNUM
Definition CUSTNUM
?Section CUSTOMER
Record CUSTOMER.
File is "CUSTOMER" Key-sequenced.
02 CUSTNUM
02 CUSTNAME
02 CUSTADDR
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:
30> DDL
!?DICT $data.backup !
!?SOURCE ddlsrc
!EXIT

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
[ NO ] DEFLIST
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.
Data Definition Language (DDL) Reference Manual—426798-002
Pic "9(5)".
Pic "X(4)".
Type *.
Type NAME.
Type ADDR.
Open and clear dictionary
Write source to dictionary
VST908.vsd
9- 44
DEFLIST Command
.

Advertisement

Table of Contents
loading

Table of Contents