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

%NOTE Statement

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

Read syntax diagramSkip visual syntax diagram>>-%--+------------+--NOTE--(--message--+---------+--)--;------><
      | .--------. |                    '-,--code-'
      | V        | |
      '---label:-+-'
 
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 and a default value is taken. If the value is less than 0 or greater than 16, severity U is the default. Otherwise, the next lower severity is the default.

Generated messages are filed together with other preprocessor messages. Whether or not a particular message is subsequently printed depends upon its severity level and the setting of the compiler FLAG option.

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 the NOSYNTAX and NOCOMPILE compile-time options.


Terms of use | Feedback

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