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
What are the various error conditions seen in rexx?
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?
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.
for which platforms is uni-rexx available?
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
is oorexx compatible with ibm object rexx?
Enlist the features of rexx as a programming language.
Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?
does uni-rexx give me any capabilities designed specifically for the unix environment?
What are various loop types supported by rexx?
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 does the sample library of uni-rexx consist of?
how to access data held on the jes spool?
how to pass parms to ispf edit macro?
What is the difference between ooRexx and IBM's Object REXX for Windows?