Data Definition Language (DDL) Reference Manual
Running the DDL Compiler
Data Definition Language (DDL) Reference Manual—529431-004
3-5
Completion Codes
Completion Codes
When the DDL compiler stops its operation, it returns a completion code to the
command interpreter that indicates the outcome of the DDL compilation.
The completion code is accessible in the TACL variable _COMPLETION.
Example 3-4. Interactive DDL Session: Writing From a Dictionary to a File
63> DDL
!?DICT $data.sales
Open a dictionary on the volume $DATA and the
subvolume SALES.
!?FUP fupsrc !
Open the file fupsrc, clearing any contents.
!OUTPUT RECORD customer.
Retrieve the record customer from the dictionary and
write the appropriate FUP file-creation commands for this
record to fupsrc.
!EXIT
Exit the DDL compiler, returning to the command
interpreter.
Table 3-1. DDL Compiler Completion Codes
Code Meaning
0 Normal termination. If warnings but no errors occurred, and the NOWARN
command was in effect, any warnings that did occur were suppressed.
1 One or more warnings were reported, but no errors occurred.
2 One or more errors were reported (regardless of whether any warnings were
reported).
3 The DDL compiler stopped before processing all input because the number of
errors reached the limit specified in the command ERRORS
on page 9-55.