How do I Run My Rexx Exec.?
Answers were Sorted based on User's Feedback
Answer / chandrakant sinha
(*)
U can run directly the rexx code using "ex" in front on the
member where the code is present .
For ex
pds : abdc.rexx(rexx)
put ex in front of rexx the press enter .
(*) another way :
tso exec 'abc.res(rexx)' exec
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / shakila vinayagam
Make sure the Exec starts with the /* REXX */ comment.
TSO EXEC 'hlq.your.dsn(member)' runs Rexx in exactly the
same way as it would a CLIST.
TSO EX yourlib(member) E uses a suffix of EXEC and the TSO
profile prefix to form a full DSN
of 'your_prefix.yourlib.EXEC(member)'
The SYSEXEC concatenation can be used to run execs using
TSO execname. The SYSPROC concatenation will do just as
well, but is really intended for CLISTS.
TSO %execname parameter_string allows you to pass a
parameter string to the exec, note that this string is only
a single argument, not multiple arguments as can be used
when calling from within an exec. The '%' instructs TSO to
not use loadlib concatenations when constructing the search
path.
For running Rexx in batch:
Create a batch environment for the Exec to run in with
PGM=IRXJCL, PGM=IKJEFT01 or PGM=IKJEFT1B
IRXJCL is a straight batch environment
IKJEFT01 and IKJEFT1B are the TSO in batch programs.
Put the Rexx exec libraries in the SYSEXEC DD
concatenation.
Call your exec via the PARM='yourprog' or as input in the
SYSTSIN DD
| Is This Answer Correct ? | 7 Yes | 0 No |
why is there no os/2 (ecs) port of oorexx?
can I redistribute oorexx freely with commercial software?
Can anyone provide me the source code for LOC(lines of code) counter written in REXX language which can run on IBM mainframe z/OS V1R4. The LOC counter should be able to count the comments,lines of code,blank lines in a COBOL program and JCL's
How to run my rexx exec?
how long does the install of oorexx take?
Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?
If there are a set of statements and each has a word "value" in it, If I want to display all these statements so that the word "value" is aligned, then how do I code this in REXX. e.g - The value of X is Y. Wot is its value? Do u know its value? I want to know its value.
can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?
how to access data in control blocks such as jobname?
What is the use of uni-rexx?
can oorexx run normal rexx programs?
Suppose if there are a set of statements and each has a word “value” in it, if I want to display all these statements so that the word “value” is aligned, then how do I code this in rexx?