12.07.2015 Views

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EXEC <strong>Command</strong>PROMPTspecifies prompting to the terminal is allowed during the execution of aCLIST or REXX exec. The PROMPT keyword implies LIST, unless NOLISThas been explicitly specified. Therefore, all commands and subcommandsare listed at the terminal as they are executed. This operand is valid onlyfor the explicit form of EXEC.The PROMPT keyword is not propagated to nested EXEC commands. Ifyou want to be prompted during execution of the program it invokes,PROMPT must be specified on a nested EXEC command.The following is a list of options resulting from specific keyword entries:Keyword specified Resulting optionsPROMPTNOPROMPTLISTNOLISTPROMPTPROMPTNOPROMPTNOPROMPTNo keywordsLISTNOLISTLISTNOLISTPROMPTNOPROMPTLISTNOLISTPROMPTPROMPTNOPROMPTNOPROMPTNOPROMPTLISTNOLISTNOPROMPTNOPROMPTLISTNOLISTLISTNOLISTNOLISTCLIST | EXECspecifies whether a CLIST or an exec is to be run. To fully qualify the data setname, the EXEC command adds the suffix CLIST or EXEC to the data set name.For more information about these operands, including what happens when youomit the parameter, see “Using the explicit form of the EXEC command” onpage 135.CLISTspecifies that a CLIST is to be run.EXECspecifies that an exec is to be run.%member_namespecifies the name of a CLIST or exec. If the percent sign (%) is entered,<strong>TSO</strong>/E searches its procedure libraries for a CLIST or exec only. It does notsearch for a command. For example, to execute an exec namedprefix.myrexx.exec(new) that is allocated to a procedure library, specify:%newSuppose the following CLIST exists as a data set named ANZAL:PROC 3 INPUT OUTPUT LIST LINES( )allocate dataset(&input) file(indata) oldallocate dataset(&output) block(100) space(300,100)allocate dataset(&list) file(print)call proc2 ’&lines’endThe PROC statement indicates that the three symbolic values, &INPUT,; &OUTPUTand &LIST, are positional (required) and that the symbolic value &LINES is akeyword (optional).To replace ALPHA for INPUT, BETA for OUTPUT, COMMENT for LIST, and 20 forLINES, you need to specify the implicit form:anzal alpha beta comment lines(20)134 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>TSO</strong>/E <strong>Command</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!