SET GLOBAL
TSO
With ISPF |
TSO Without ISPF |
CMS With ISPF |
CMS Without ISPF |
CICS |
X |
X |
X |
X |
X |
The SET GLOBAL command assigns values to global variables
from the QMF command line, from a procedure, or through the callable
interface. You can define up to ten substitution variables from
the QMF command line or in a procedure. In the callable interface,
the number of variables is limited only by your environment, and
the exact syntax of the command depends on the language used.

Linear syntax used with REXX only
.-+---+------------------------.
| '-,-' |
V (1) .-=-. |
>>-SET--GLOBAL--(-----variablename-------+---+---+-------------->
(2)
>--+-value----------+--+---+-----------------------------------><
| (3) | '-)-'
'-&variable------'
Notes:
- Identifies the global variable to which a value is assigned.
- The character string that makes up the content of the global
variable. When a SET GLOBAL command is entered from a linear proc
and the variable value spans multiple lines, the value must be enclosed
in quotes and a continuation character (+) must be used in the first
position of each line. When the delimiters are double quotes, the
double quotes are included as part of the global variable value.
Parentheses cannot be used as a delimiter when spanning multiple
lines. A value that contains blank characters must be surrounded with
delimiters. Valid delimiters for a global variable value are single
quotes, parentheses, and double quotes. When the delimiters are
double quotes, the double quotes are included as part of the global
variable.
- A global variable name which contains the content of the
global variable.
