How do I Run My Rexx Exec.?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

587


is there an aix version of oorexx?

557


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

520


I executed one job and I forget to save the final JCL. But took an XDC from SPOOL. Now I want to recover the JCL from XDC dataset. Is there any process to do this?. (Manually it takes a lot of time). Is there

2671


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?

515






Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?

538


How to run my rexx exec?

555


Can I combine uni-REXX with a compiled language in my application? What application programming interfaces are available? For example, can I share variables between uni-REXX and a compiled language?

534


can I redistribute oorexx freely with commercial software?

565


why is there no os/2 (ecs) port of oorexx?

580


is oorexx compatible with ibm object rexx?

617


how to access data in control blocks such as jobname?

567


i want new rexx tool which will perform jcl chk without submitting it

1592


have you already used rexx - even for limited purposes? Do you need to maintain a high level of productivity during your transition to unix?

558


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

599