FLAG(x) to produce
diagnostic messages at the end of the source listing for errors of
a severity level x or above.
produce diagnostic messages for errors of severity level x or
above at the end of the source listing, with error messages of severity y and
above to be embedded directly in the source listing. The severity
coded for y must not be lower than the severity
coded for x. To use
you must also specify the
SOURCE compiler option.
Error messages in the source listing are set off by the embedding of the statement number in an arrow that points to the message code. The message code is followed by the message text. For example:
in effect, most messages of severity y and
above are embedded in the listing after the line that caused the message. Messages with the IGYCB prefix will never
be embedded in the source. (See the related reference below for
information about messages for exceptions.)
suppress error flagging.
NOFLAG does not suppress
error messages for compiler options.
- Embedding level-U messages is not recommended. The specification of embedded level-U messages is accepted, but does not produce any messages in the source.
FLAGoption does not affect diagnostic messages that are produced before the compiler options are processed.
- Diagnostic messages that are produced during processing of compiler
REPLACEstatements are not embedded in the source listing. All such messages appear at the beginning of the compiler output.
- Diagnostic messages with the IGYCB
prefix are not embedded in the source listing. All such messages appear
at the end of the compiler output, regardless of the setting of the
- Messages that are produced during processing of the
*CBLstatement are not embedded in the source listing.
Messages and listings for compiler-detected errors