This article provides OPS/REXX logic to generate a report of enabled rules, including their execution (fire) counts and status within OPS/MVS. This is useful for auditing automation health or monitoring rule activity over time.
To retrieve statistics for active rules, use the ADDRESS AOF "LISTINST" command. This command returns records to the External Data Queue (EDQ) containing rule names, types, and fire counts.
Execute the following REXX logic to dump statistics for all currently enabled rules:
If a report of both enabled and disabled rules is required (similar to the OPSVIEW 4.5.1 display), use the LIST command instead:
For statistics covering a specific historical window (e.g., "Last 24 Hours"), use the Automated Measurement and Evaluation (AME) facility. AME processes SMF records generated by OPS/MVS to provide long-term trend analysis and performance metrics.
LISTINST output fields, refer to the .