![Previous Topic: Execute OPS/REXX Source Programs from ISPF EDIT](574.png)
![Next Topic: Call the Interpreter from an OPS/REXX Program](573.png)
Using OPS/REXX › Execute Source OPS/REXX Programs › How OPS/REXX Programs in the AOF Work
How OPS/REXX Programs in the AOF Work
In the AOF environment, the OPS/REXX interpreter does the following:
- Compiles an AOF rule when it is enabled if no precompiled version of that rule exists. While compiling a rule, the interpreter reads the rule source code from the rule data set library on disk and places the code in internal CA OPS/MVS storage. The interpreter does the same for any external subroutines that are called directly or indirectly.
- Runs the )INIT section of a rule when a rule is being enabled.
- Runs the )TERM section of a rule when a rule is being disabled.
- Runs the )PROC section of a rule when an event matching the event type specified for the rule occurs.
All other uses of OPS/REXX require you to invoke the OPS/REXX interpreter explicitly.
Copyright © 2014 CA.
All rights reserved.
![Previous Topic: Execute OPS/REXX Source Programs from ISPF EDIT](574.png) ![Next Topic: Call the Interpreter from an OPS/REXX Program](573.png)
|
|