Previous Topic: Predefined VariablesNext Topic: External Subroutines


REXX Global Variables

The global variables are REXX variables that begin with an ampersand (&). One copy of each global variable is maintained in an ISERVE address space, and all IMODs executing in this address space have access to it. In this way, multiple IMODs and multiple executions of the same IMOD can share information. The global variables are initialized using the GLOBVAL initialization parameter.

Note: An uninitialized global variable has a null value, rather than being equal to the variable name.

The global variables have the following restrictions: