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 modifiable control variables (CLISTs)


Control variables provide information about MVS, TSO, and the current session, such as levels of software available, the time of day, and the date.

Your CLISTs can use the control variables to obtain such current information.

You do not have to define control variables. Control variables to which you can assign values are called modifiable control variables. The descriptions for this section are from the IBM publication, TSO Extensions: CLISTS.

The variables in this list are supplied by TSO and are available to all different CLIST types. You can modify the variable values.

Variable

Description

&LASTCC

Contains the most recent return code from the execution of the last TSO command or command procedure statement and indicates whether the command was successfully processed

Use &IMFRC to check the return code of the TSO command.

Note

To check the return code from the most recently executed IMFEXEC statement, use the &IMFCC variable.

&MAXCC

Contains the highest return code from any TSO command or command procedure executed so far

&SYSASIS

Contains one of the following values:

  • ON: specifies Control SYSASIS
  • OFF: specifies Control NOSYSASIS

&SYSCONLIST

Contains one of the following values:

  • ON: specifies Control CONLIST
  • OFF: specifies Control NOCONLIST

&SYSDVAL

Contains information entered from the terminal after a TERMIN or READ statement

&SYSFLUSH

Contains one of the following values:

  • ON: specifies Control FLUSH
  • OFF: specifies Control NOFLUSH

&SYSLIST

Contains one of the following values:

  • ON: specifies Control SYSLIST
  • OFF: specifies Control NOSYSLIST

&SYSMSG

Contains one of the following values:

  • ON: specifies Control MSG
  • OFF: specifies Control NOMSG

&SYSOUTLINE

Contains the number of lines of command output that were produced by a TSO command and points to the CLIST variables containing the output

&SYSOUTTRAP

Contains the maximum number of lines of TSO command output to be saved

&SYSPROMPT

Contains one of the following values:

  • ON: specifies Control PROMPT
  • OFF: specifies Control NOPROMPT

&SYSSCAN

Contains the maximum number of times a that CLIST can rescue a line to evaluate variables

The default is 16 times.

The maximum value is +2,147,483,647. The minimum value is 0.

&SYSSYMLIST

Contains one of the following values:

  • ON: specifies Control SYMLIST
  • OFF: specifies Control NOSYMLIST

 

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