TSO variable pool usage
A TSO variable pool is created when an EXEC starts and is deleted when the EXEC ends.
The variables in the TSO variable pool can be created in any one of two ways:
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
Refer to How-data-is-passed-to-the-EXEC for more information about the ARG statement.
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:
Related topic