Use FLAG(x) to produce diagnostic messages at the end of the source listing for errors of a severity level x or above.
| FLAG option syntax |
|---|
|
Default is: FLAG(I,I)
Abbreviations are: F|NOF
x and y can be either I, W, E, S, or U.
Use FLAG(x,y) to 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 FLAG(x,y), 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:
000413 MOVE CORR WS-DATE TO HEADER-DATE ==000413==> IGYPS2121-S “ WS-DATE ” was not defined as a data-name. . . . |
When FLAG(x,y) is in effect, messages of severity y and above are embedded in the listing following the line that caused the message. (See the related reference below for information about messages for exceptions.)
Use NOFLAG to suppress error flagging. NOFLAG does not suppress error messages for compiler options.
Embedded messages
related references
Messages and listings for compiler-detected errors