Coding Each AOF Rule Type › Message Rules › RETURN Statements in the )PROC Section of an MSG Rule › Other RETURN Statement Considerations
Other RETURN Statement Considerations
Consider the following when specifying the RETURN statement in the processing section of a message rule:
- If multiple rules respond to a single message event, the AOF uses the highest-precedence return value; the order of precedence is:
- DELETE (highest precedence)
- DISPLAY
- SUPPRESS
- NORMAL (lowest precedence)
- The DELETE and DISPLAY return values work as described only if the AOFDELETE parameter is set to YES (the default setting). If the AOFDELETE parameter is set to NO, the rule processes a message as though the DELETE return value is SUPPRESS and the DISPLAY return value is NORMAL.
For information about the AOFDELETE parameter, see the Parameter Reference.