DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 55
ERRORS Command
•
If ERRORS is specified but
max-errors
is omitted, DDL stops compilation after
the first error; thus, ERRORS is the same as ERRORS 1.
•
When compilation terminates because the specified number of errors is reached,
DDL closes an open dictionary and any open files, issues session statistics, and
terminates.
•
The specified maximum number of errors applies only to errors that occur after the
appearance of the ERRORS command. For example, if two errors had occurred
before an ?ERRORS 3 command appeared, the fifth error to occur (the third error
after the command appeared) would halt compilation.
ERRORS Command Examples
The following ERRORS command directs the DDL compiler to stop compiling when it
encounters the third compilation error.
?ERRORS 3
If a third compilation error is encountered, DDL issues the error message for the third
error followed by the fatal error message:
Too Many Errors - Compilation Terminating.
In the following example, the absence of an ERRORS command allows compilation to
continue in a section of the schema regardless of errors; an ERRORS 1 command in a
following section stops compilation at the first subsequent error:
?SECTION start
.
.
.
?SECTION rest-of-schema
?ERRORS 1
.
.
.
Compile regardless of errors
Stop compiling source if any error is
encountered
VST915.vsd
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...