Previous Topic: Initialization, Processing, and Termination Sections of MSG Rules

Next Topic: Other RETURN Statement Considerations

RETURN Statements in the )PROC Section of an MSG Rule

The OPS/REXX RETURN statement specifies the final disposition of a message. The RETURN statement can:

Valid values for a RETURN statement in the processing section of a message rule are:

NORMAL

Allows z/OS to route a message as usual.

SUPPRESS

Prevents a message from appearing on the console. The message appears in the system log.

DISPLAY

Prevents a message from appearing in the system log. The message appears on the console.

DELETE

Suppresses a message entirely. The message appears neither on the console nor in the SYSLOG log file.

FORCENORMAL

Allows z/OS to route a message normally, but overrides any return value that was specified by a prior rule.

The default is RETURN NORMAL. The return values listed here are character constants rather than keywords. An unrecognized return value (for example, a misspelled value), defaults to a value of NORMAL.