How do I Run My Rexx Exec.?

Answers were Sorted based on User's Feedback



How do I Run My Rexx Exec.?..

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 ?    9 Yes 0 No

How do I Run My Rexx Exec.?..

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

Post New Answer

More REXX Interview Questions

How do I pass parms to my ISPF Edit macro

2 Answers   Wipro,


When will a port of ooRexx to "XYZ" be available?

0 Answers  


How to code the db2 queries using rexx, and also plz send some link and examples using db2 queries?

0 Answers  


does uni-rexx give me any capabilities designed specifically for the unix environment?

0 Answers   IBM,


for which platforms is uni-rexx available?

0 Answers   IBM,






I want to open particular list of members inside pds.Let me know whether below code will work.if not tell me how it works INPUT='DDM.DATASET(AAA*)' X = OUTTRAP(MEMS.)

0 Answers   Mind Tree,


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.

1 Answers  


what is uni-rexx?

0 Answers   IBM,


What does the sample library of uni-rexx consist of?

0 Answers  


i'm getting error while editing macro, its not even entering into the macro, getting error like 31 *-* "EDIT DATASET('"DSN"("MEM")') MACRO("CHGLINE")" +++ RC(-3) +++ ? any idea why?

1 Answers  


How to find or access the current level of a gdg?

0 Answers  


Can I cleanly uninstall oorexx?

0 Answers   IBM,


Categories