Suppressing messages

Suppressing messages

Overview

You can use the MSG_SUPPRESS parameter to suppress messages.

Suppressed messages will not appear on the console and they will not appear in logs.

Note: Message suppression does not affect the routing of messages to _beta access monitor.

Syntax

The general syntax of the message suppression statement is as follows:

MSG_SUPPRESS = (msg_mask1,msg_mask2,...,msg_maskn)

where msg_maskn is a message ID or a mask. You can use ? and * as masking characters to suppress a group of messages.

Note: The maximum length of the suppression statement is 255 bytes.

Examples

Following is an example of a suppression statement:

MSG_SUPPRESS = (OMS95*,PMS95*,???96*)

The statement above causes the suppression of the following messages:

  • All messages beginning with OMS95
  • All messages beginning with PMS95
  • All messages containing 96 at positon four and five of the message ID

Continuation of long lines

Long statements can be continued on the following line like this:

  • Place a continuation character at column 72 of the current line
  • Continue the statement at column 16 of the following line

Following is an example of a suppression statement that continues on the following line:

MSG_SUPPRESS = (QMS9501*,QMS9502*,QMS9503*,QMS9504*,QMS9505*,QMS9506*, X
QMS9507*)

The statement above causes the suppression of the following messages:

  • All messages (any type code) with IDs from QMS9501 through QMS9507