TSO variable pool usage
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=1
For a CLIST, use the TSO CLIST command SET; for example, the following command creates a variable called &N in the TSO pool:
SET &N=1
using 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
MainView AutoOPERATOR-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 MainView AutoOPERATOR-supplied variables and the modifiable and nonmodifiable variables that are supplied by TSO.
Comments
Log in or register to comment.