View previous topic :: View next topic
|
Author |
Message |
rohitcognizant
New User
Joined: 13 Feb 2007 Posts: 54 Location: Pune India
|
|
|
|
Hi,
I want to pass 2 file names as a parameter to a rexx utiluty which will use those files as inputs and process them.
I have used this JCl to run the utility
how shall i include the two datafiles with their dd names????
//JOBSTEP EXEC PGM=IKJEFT01
//SYSPROC DD DSN=UKTEST.W.COG.CMDPROC,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%OUTREP
/* |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can allocate the datasets in the JCL as always (DD statement), and simply use EXECIO with the DDNAME in your REXX to process them.
Another option is to use LISTALC from your REXX and parse the results.
O. |
|
Back to top |
|
|
|