Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-116
WARN
WARN
The [NO]WARN command includes [excludes] warnings in [from] the compiler listing.
Default: WARN
WARN
includes warnings in the compiler listing.
NOWARN
excludes warnings from the compiler listing.
WARNINGS
The WARNINGS command specifies the number of warnings allowed before
compilation stops.
Default: Compilation continues until the end of the source code file regardless of the
number of warnings
max-warnings
is a number from 1 through 32,767 that specifies the maximum number of
warnings allowed before the DDL compiler stops compiling the source code file.
Default: 1
When compilation stops because the specified number of warnings is exceeded, the
DDL compiler closes the open dictionary and any open files, issues session statistics,
and stops.
[NO]WARN
Example 9-62. WARN and NOWARN Commands
*start of source code file
...
List warning messages by default
?NOWARN
...
Suppress warning messages for subsequent
statements
?WARN
...
*end of source code file
List warning messages for subsequent statements
WARNINGS [ max-warnings ]