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 |
How do I pass parms to my ISPF Edit macro
how to pass parms to ispf edit macro?
what if I need to have the same application running on multiple platforms, such as unix and the mainframe? Does that mean I have to maintain two separate sources?
What are the functions available in rexx?
When will a port of ooRexx to "XYZ" be available?
If I have limited experience with Rexx or it's been a long time since I've used it, what kind of help is available to get me started?
Enlist the features of rexx as a programming language.
I am new to rexx db2 ,can anyone help me by expalinin how to code the db2 queries using rexx,and also plz send some link and examples using db2 queries.
How do I access data in control blocks such as jobname?
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?
How to find or access the current level of a gdg?
I have one input file and some 40 tables, I want to read input file and compare the input file value with the table value if it is present then we have to update with new value, this should be repeated for all 40 tables and we are reading only one input file, for this is there any REXX program or job or routine to accomplish above requirement. components of the requirements; 1. One input file 2. 40 DB2 tables 3. we have to read from the input file and compare with table value, if present then update with new value (this should be recurssive for all 40 tables for every record of input file). 4. quick help is appreciated.