TSO variable pool usage
Assigning a variable
For example, the following statement creates a TSO variable I with a value of 1 in the pool:
I=1For a CLIST, use the TSO CLIST command SET; for example, the following command creates a variable called &N in the TSO pool:
SET &N=1Using IMFEXEC VGET commands
To access a variable from the LOCAL, SHARED, or PROFILE pools, you must use the IMFEXEC VGET command in the EXEC and move the variable into the TSO pool. The REXX EXEC can perform operations on the value of the variable only when it is in the TSO variable pool. Refer to VGET for information on coding an IMFEXEC VGET statement.
TSO variables also exist as
- BMC AMI Ops Automation-supplied variables
- TSO-supplied modifiable and nonmodifiable control variables
Variables that are substituted into the positional parameters on a REXX ARG statement
For more information about the ARG statement, see How-data-is-passed-to-the-EXEC .
The following sections list the BMC AMI OpsA-supplied variables and the modifiable and nonmodifiable variables that are supplied by TSO.
This section contains the following topics: