Previous Topic: How to Control Rules from the Rule Set LevelNext Topic: AOFINITREXX Parameter


Create and Control Rules Programmatically

You can programmatically control AOF rules using the OPS/REXX ADDRESS AOF host environment.

While AOF rules are mainly controlled manually using OPSVIEW option 4.5, the ADDRESS AOF OPS/REXX host environment provides you with the flexibility of controlling your rules in an automated application. This feature is commonly used as a tool in the form of a pseudo-AOF command rule that can be invoked from anywhere a z/OS command can be entered, which eliminates the need to use the OPSVIEW 4.5 option.

In addition to programmatically controlling rules, the ADDRESS AOF OPS/REXX host environment gives you a way to dynamically create AOF rules. The ADDRESS AOF host environment lets you build an AOF rule in other AOF rules or OPS/REXX programs. This type of logic is mainly used to trigger automation for events that can occur at any time.

To programmatically create and control rules

For more information on using the ADDRESS AOF OPS/REXX host environment to programmatically control and create AOF rules, see the Command and Function Reference.