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. |
&MAXCC | Contains the highest return code from any TSO command or command procedure executed so far |
&SYSASIS | Contains one of the following values:
|
&SYSCONLIST | Contains one of the following values:
|
&SYSDVAL | Contains information entered from the terminal after a TERMIN or READ statement |
&SYSFLUSH | Contains one of the following values:
|
&SYSLIST | Contains one of the following values:
|
&SYSMSG | Contains one of the following values:
|
&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:
|
&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:
|
Related topic