z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Prompting with TSO/E commands

z/OS TSO/E CLISTs
SA32-0978-00

Some TSO/E commands, such as LISTDS, require more information than just the name of the command and they prompt when that information is not supplied. However, TSO/E commands included in a CLIST can prompt for input only when the CLIST allows prompting. Prompting in a CLIST is controlled by the TSO/E commands PROFILE and EXEC, and by the CLIST statement CONTROL and the control variable &SYSPROMPT.

The following table illustrates the effect on prompting using different explicit specifications of PROMPT/NOPROMPT on the PROFILE and EXEC commands and on the CONTROL statement. Note that SET &SYSPROMPT = ON has the same effect as CONTROL PROMPT and SET &SYSPROMPT = OFF has the same effect as CONTROL NOPROMPT.

Note:
  1. PROFILE PROMPT is the default specification and applies to a TSO/E session, not to a particular CLIST. You don't need to specify PROFILE PROMPT unless you want to override a prior PROFILE NOPROMPT command.
  2. The PROFILE command can be executed either outside of, or within, a CLIST.
  3. EXEC NOPROMPT is the default specification and applies only to the CLIST that it invokes.
  4. The CONTROL statement applies only to the CLIST in which it appears.
  5. If a CONTROL statement does not appear in a CLIST, CONTROL NOPROMPT is implied, unless &SYSPROMPT is set to a value of ON.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014