Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

%NOTE directive

The %NOTE directive generates a diagnostic message of specified text and severity.

Read syntax diagramSkip visual syntax diagram>>-%NOTE--(--message--+-------+--)--;--------------------------><
                      '-,code-'
 
message
A character expression whose value is the required diagnostic message.
code
A fixed expression whose value indicates the severity of the message, as follows:
Code Severity
 0 I
 4 W
 8 E
12 S
16 U

If code is omitted, the default is 0.

If code has a value other than those listed above, a diagnostic message is produced; the resulting system action is undefined.

Generated messages are filed together with other messages. Whether or not a particular message is subsequently printed depends upon its severity level and the setting of the compiler FLAG option (as described in the Programming Guide).

Generated messages of severity U cause immediate termination of preprocessing and compilation. Generated messages of severity S, E, or W might cause termination of compilation, depending upon the setting of various compiler options.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)