EasyManuals Logo

IBM TSO/E REXX User Manual

IBM TSO/E REXX
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #34 background image
/* 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.
EXEC 'userid.rexx.exec(timegame)' exec
v A non fully-qualified data set, which has no quotation marks can eliminate your
profile prefix (usually your user ID) as well as the third qualifier, exec.
EXEC rexx.exec(timegame) exec /* eliminates prefix */
EXEC rexx(timegame) exec /* eliminates prefix and exec */
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
READY
EXEC rexx.exec(timegame) exec
v From the COMMAND option of ISPF/PDF
----------------------------- TSO COMMAND PROCESSOR -------------------------
ENTER TSO COMMAND OR CLIST BELOW:
===> exec rexx.exec(timegame) exec
ENTER SESSION MANAGER MODE ===> NO (YES or NO)
v On the COMMAND line of any ISPF/PDF panel as long as the EXEC command
is preceded by the word "tso".
Execs Using Double-Byte Character Set Names
16
z/OS V1R1.0 TSO/E REXX Users Guide

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM TSO/E REXX and is the answer not in the manual?

IBM TSO/E REXX Specifications

General IconGeneral
BrandIBM
ModelTSO/E REXX
CategoryComputer Hardware
LanguageEnglish

Related product manuals