Previous Topic: REXX TRACE Built-in FunctionNext Topic: BROWSExxx Parameter


How RULETRACE Parameter Works

More than one AOF rule can process a single system event, which can often lead to conflicting logic.

To determine if you have multiple AOF rules executing on the same event, display the following columns in the OPSLOG facility:

COUNT

Displays the number of rules that executed on the event.

RULESET

Displays the rule set and the rule that executed on the event first (or the only rule that executed if COUNT=1).

By default, the OPSLOG records only the first rule that executed on the event. If COUNT > 1 and you need to reveal all rules that processed the event, do the following:

  1. Set the RULETRACE parameter to ON.

    Use this setting for debugging purposes only.

  2. Reinitiate the event.

This parameter setting causes the OPSLOG to record each AOF rule that processed the event.

You can set the RULETRACE parameter manually using OPSVIEW option 4.1.1 or programmatically using the OPS/REXX OPSPRM built-in function.