SUPPRESSWARNING Assignment

<suppresswarning assignment>

── SUPPRESSWARNING ── = ── <suppresswarning list> ─────────────────────┤

<suppresswarning list>

──┬─ ALL ──────────────────────────────────────────────────────────────────┬─┤
  ├─ NONE ─────────────────────────────────────────────────────────────────┤
  │              ┌◄────────────────────────── , ─────────────────────────┐ │
  ├────────────┬─┴─ <warning number> ─┬────────────────────────────────┬─┴─┘
  └─ <hyphen> ─┘                      └─ <hyphen> ── <warning number> ─┘

<warning number>

An unsigned integer in the range of 1 through 29999.

Explanation

The SUPPRESSWARNING attribute suppresses run-time warning messages for a process. Most of these messages are warnings that indicate the process has just used a feature that is scheduled for deimplementation on a future release.

You can suppress specific run-time warning messages by assigning a set of warning numbers or warning number ranges to the SUPPRESSWARNING attribute. Each warning number corresponds to a particular run-time warning message. If the SUPPRESSWARNING list begins with a hyphen (-), the hyphen is interpreted as a minus sign and the warning numbers following the hyphen are deleted from the previously created SUPPRESSWARNING list.

Refer to the Task Attributes Programming Reference Manual for additional information regarding the SUPPRESSWARNING task attribute.

Examples

The following is a simple SUPPRESSWARNING assignment that causes all run-time warning messages to be suppressed:

SUPPRESSWARNING = "ALL"; 

The following assignment suppresses the run-time warning messages that are in the ranges 1 through 25, 32 through 45, and 100 through 199:

SUPPRESSWARNING = "1-25,32-45,100-199"; 

The following assignment deletes messages 10 through 20 from the SUPPRESSWARNING list that was created in the previous example:

SUPPRESSWARNING = "-10-20";