Previous Topic: OPS/REXX Built-in FunctionsNext Topic: Parsing


Automated Operator Facility (AOF) Global Variables

Global variables are variables that can be shared by multiple AOF rules, OPS/REXX programs, or both running in different address spaces.

Global variables are also compound symbols with any of the following stems:

Note: The n is a single digit or letter.

Use global variables as you would any other OPS/REXX variable.

The CA OPS/MVS product uses two types of global variables: standard and temporary. Standard global variables are checkpointed to data-in-virtual data sets. Temporary global variables are not checkpointed, and they do not exist across IPLs or restarts of CA OPS/MVS. The stems GLVTEMPn., GLVEVENT., and GLVJOBID. all identify temporary global variables.

The difference among the temporary global variable stems is the variable duration that each indicates. Consider this:

For a detailed description of uses and characteristics of both temporary and standard global variables, see the chapter “Global Variables Explained.”

Note: Because we may add other types of global variables in the future, avoid giving OPS/REXX variables stems that begin with the characters GLV.