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 to code the db2 queries using rexx?

0 Answers  


can oorexx run normal rexx programs?

0 Answers   IBM,


What are the functions available in rexx?

0 Answers  


I just know the Panvalet dataset name, i would like to search all the members of that dataset for particular keyword through Rexx. how to achive? please suggest. Is it possible to open panvalet member in browse mode using Rexx? Your help would be appreciated very much. Thanks in advance.

0 Answers  


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.

3 Answers  






is oorexx compatible with rexx?

0 Answers   IBM,


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  


What is the difference between ooRexx and IBM's Object REXX for Windows?

0 Answers  


how to access data held on the jes spool?

0 Answers   IBM,


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?

0 Answers  


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  


Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?

0 Answers  


Categories