Previous Topic: OPS/REXX Global VariablesNext Topic: REXX Programming Techniques


Event-related Variables

Event-related variables are compound symbols that begin with a reserved stem of GLVEVENT. They let you share data between different AOF rules that are processing the same event. In a case where you allow different groups (for example, operations, CICS, IMS) to have their own rule sets, there may be a need to coordinate a process between two or more rules that execute on the same event. Event-related variables have a life span of the event.

Example: Sharing Data Between AOF Rules

Rule #1 and Rule #2 execute on a specific $HASP100 event and will execute before Rule #3 because it is a more generic message specification of $HASP*. They will set the event-related variable GLVEVENT.DISP accordingly. Rule #3 will then interrogate this variable to determine what action to take.

Review the following additional facts about event-related variables:

More information:

Building and Controlling AOF Rules