Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-43
DDL
DDL
closes any open DDL source code file, opens ddl-source-file, translates 
subsequent DDL objects defined by statements or specified in OUTPUT 
statements to DDL source code statements, and writes the DDL source code 
statements to ddl-source-file.
ddl-source-file
is the name of the DDL source code file to be created, if necessary, and opened. 
The file must be one of:
•
EDIT file
•
Unstructured file
•
Sequential device (such as a terminal, spooler, or process)
If the file exists but is not one of these types, the DDL compiler issues an error 
message and does not open the file.
If ddl-source-file is an EDIT file, and it exceeds 99,999 lines, the DDL 
compiler issues FILE ERROR - filename - Edit file line number too large (537) on 
page A-18.
Default: home terminal
!
purges the contents of ddl-source-file before opening it, if it exists. If 
ddl-source-file does not exist, the exclamation point has no effect.
Without the exclamation point, the DDL compiler appends the new DDL source 
code statements to the end of ddl-source-file.
NODDL
closes any open DDL source code file and stops translating DDL object definitions 
to DDL source code statements.
The compiler can translate DDL objects specified in an OUTPUT statement only if the 
dictionary containing these structures is open.
Only one DDL source code file can be open at a time. If you use the DDL command 
when you already have a source code file open, the DDL compiler closes the current 
source code file before opening the new source code file.
If the DDL source code file already exists and the exclamation point is omitted, the 
DDL compiler appends the DDL object definitions to the end of the file’s original 
contents. The DDL compiler does not replace any existing structures in the DDL 
source code file.










