DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 54
ERRORS Command
EDIT Command Example
The following example illustrates using EDIT to change a source file interactively. The
example also illustrates how DDL handles a default EDIT-file name and EDIT
parameter.
ERRORS Command
The ERRORS command specifies the number of compilation errors allowed before
DDL terminates the compilation
.
max-errors
is the maximum number of compilation errors allowed before DDL terminates
compilation of the source file. The number must be in the range 1–32767.
ERRORS Command Guidelines
The following points are guidelines for using the ERRORS command:
•
If the ERRORS command is omitted, compilation continues until the end of the
source file regardless of the number of errors.
ERRORS [ max-errors ]
33> DDL DICT
!?DDL ddlfil
!RECORD sum.
.
.
.
!?NODDL
!?EDIT ddlfil;LIST ALL
CURRENT FILE IS $DATA.PARTS.DDLFIL
1 Record SUM.
2 File is $DATA.SALES.SUM Unstructured.
3 Def is SUM-DEF.
4 End
*FIX 3
3 Def is SUM-DEF.
......... iR
3 Def is RSUM-DEF.
.........cr
*EXIT
!?SOURCE ddlfil
!?EDIT
CURRENT FILE IS $DATA.PARTS.DDLFIL
1 Record SUM.
2 File is $DATA.SALES.SUM Unstructured.
3 Def is RSUM-DEF.
4 End
*EXIT
!EXIT
Open DDLFIL
Add a record
Close DDLFIL
Start an EDIT process; list DDLFIL
Correct a record
Add the record to the dictionary
Use the previous file and parameter
Stop the EDIT process
Exit from DDL
VST914.vsd