Newer version of documentation BMC provides a newer version of the documentation for this version of the product. As a result, BMC no longer accepts comments in this space.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see bao8301.

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=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

  • 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:



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*