Running An Exec; Running An Exec Explicitly - IBM TSO/E REXX User Manual

Table of Contents

Advertisement

Execs Using Double-Byte Character Set Names
/* which is a DBCS variable name. The LINKMVS host command
/* environment routine will look up the value of the two
/* variables and pass their values to the address LINKMVS
/* command, "proca29".
/*******************************************************************/
ADDRESS LINKMVS "proca29 line_len line1_<.v.a.l.u.e>"
"FREE FI(INDD)"
EXIT 0

Running an Exec

After you have placed REXX instructions in a data set, you can run the exec
explicitly by using the EXEC command followed by the data set name and the
"exec" keyword operand, or implicitly by entering the member name. You can run
an exec implicitly only if the PDS that contains it was allocated to a system file.
More information about system files appears in the "Running an Exec Implicitly" on
page 17.

Running an Exec Explicitly

The EXEC command runs non-compiled programs in TSO/E. To run an exec
explicitly, enter the EXEC command followed by the data set name that contains the
exec and the keyword operand "exec" to distinguish it from a CLIST.
You can specify a data set name according to the TSO/E data set naming
conventions in several different ways. For example the data set name
USERID.REXX.EXEC(TIMEGAME) can be specified as:
v A fully-qualified data set, which appears within quotation marks.
v A non fully-qualified data set, which has no quotation marks can eliminate your
For information about other ways to specify a data set name, see the EXEC
command in z/OS TSO/E Command Reference.
You can type the EXEC command in the following places:
v At the READY prompt
v From the COMMAND option of ISPF/PDF
v On the COMMAND line of any ISPF/PDF panel as long as the EXEC command
16
z/OS V1R1.0 TSO/E REXX User's Guide
EXEC 'userid.rexx.exec(timegame)' exec
profile prefix (usually your user ID) as well as the third qualifier, exec.
EXEC rexx.exec(timegame) exec
EXEC rexx(timegame) exec
READY
EXEC rexx.exec(timegame) exec
----------------------------- TSO COMMAND PROCESSOR -------------------------
ENTER TSO COMMAND OR CLIST BELOW:
===> exec rexx.exec(timegame) exec
ENTER SESSION MANAGER MODE ===> NO
is preceded by the word "tso".
/* eliminates prefix */
/* eliminates prefix and exec */
(YES or NO)
*/
*/
*/
*/

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents