View previous topic :: View next topic
|
Author |
Message |
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
Hi,
i have coded a jcl to execute a REXX program. I want to pass an input from the JCL to the REXX program. The input is actally a dataset which i want to PULL and use it in my REXX program. Help needed.
Thanks,
Maridhasan D. |
|
Back to top |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
Found out that ....... you have to include the dataset in the JCL as follows:
//ddname dd dsn=filename,disp=shr
And then in the Rexx program just read the dataset using EXECIO into a stem variable as follows:
EXECIO * DISKR DDNAME (STEM VARIABLE. FINIS"
and thats it
Thanks |
|
Back to top |
|
|
ashok_uddaraju
New User
Joined: 21 Feb 2007 Posts: 72 Location: US
|
|
|
|
how does jcl calls the rexx code? is it calling through jcl lib? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Is the REXX program compiled, or is it being run in interpreted mode? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
ashok_uddaraju wrote: |
how does jcl calls the rexx code? is it calling through jcl lib? |
There are many examples of executing REXX in batch on the forum.
Please search the forum for an answer.
If your reply was not intended as a reply to the current thread, then why did you not start a new topic. |
|
Back to top |
|
|
|