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 Version 2: CLISTS.

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

Table 1. TSO modifiable control variables for CLISTs

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 &IMFCC.

&MAXCC

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

&SYSASIS

ON specifies Control SYSASIS.

OFF specifies Control NOSYSASIS.

&SYSCONLIST

ON specifies Control CONLIST.

OFF specifies Control NOCONLIST.

&SYSDVAL

information entered from the terminal after a TERMIN or READ statement

&SYSFLUSH

ON specifies Control FLUSH.

OFF specifies Control NOFLUSH.

&SYSLIST

ON specifies Control SYSLIST.

OFF specifies Control NOSYSLIST.

&SYSMSG

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

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

ON specifies Control SYMLIST.OFF specifies Control NOSYMLIST.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments