Errors Command - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
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.
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

ERRORS Command

The ERRORS command specifies the number of compilation errors allowed before
DDL terminates the compilation
ERRORS [ max-errors ]
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.
Data Definition Language (DDL) Reference Manual—426798-002
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
.
9- 54
ERRORS Command
VST914.vsd

Advertisement

Table of Contents
loading

Table of Contents