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

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

0 Answers   Wipro,


How to code the db2 queries using rexx?

0 Answers  


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

0 Answers  


I want to set position for a particular text in a certain position in several of my cics maps.Please provide me with a solution. Ex: If "F1-Help" has to be set to pos(4,27) always in all the maps within a PDS.

0 Answers  


How do I access data held on the JES spool?

3 Answers   TCS,






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

0 Answers   IBM,


How do I pass parms to my ISPF Edit macro

2 Answers   Wipro,


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  


What is the use of uni-rexx?

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  


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

0 Answers   IBM,


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

0 Answers  


Categories