View previous topic :: View next topic
|
Author |
Message |
Marlon
New User
Joined: 28 Jun 2007 Posts: 11 Location: Los Angeles
|
|
|
|
Hi Guys,
I need some help, it's my first time to run my rexx thru jcl using IKJEFT01
Code: |
//REXX EXEC PGM=IKJEFT01,PARM='XTINREX 6 7 8'
//SYSTSPRT DD SYSOUT=*
//SYSPROC DD DISP=SHR,DSN=XXXX.YYY.rexx
//FILEIN DD DUMMY
//FILEOOUT DD SYSOUT=*
//SYSTSIN DD DUMMY
|
My questions are what is the relevance of FILEIN and FILEOUT in my rexx program how can I use this? Thanks. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Without seeing your REXX code we can't tell you what the relevance of those two DD names are. I'd have to guess that they're an input and an output DD that have a corresponding match in your exec. |
|
Back to top |
|
|
Marlon
New User
Joined: 28 Jun 2007 Posts: 11 Location: Los Angeles
|
|
|
|
I want to read a pds member name say:
ADDRESS TSO "ALLOC F(XXIN) DS('"PDS_NAME"("PROCNAME")') SHR REUSE"
"EXECIO * DISKR XXIN (FINIS STEM IN."
Instead of using ADDRESS TSO "ALLOC F(XXIN) DS('"PDS_NAME"("PROCNAME")') SHR REUSE" can I use //FILEIN in my jcl as my input and use this inside my rexx "EXECIO * DISKR FILEIN (FINIS STEM IN."?
My dumb question is how can I pass //FILEIN DSN=xxxx.xx(bbb)parameter in my rexx? THANKS. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
The ALLOC is already done by the JCL. Just use:
Code: |
"EXECIO * DISKR FILEIN (FINIS STEM IN." |
For this you do not need to pass anything. If you want to pass the DD Name you could but you do not need to pass the DSN. |
|
Back to top |
|
|
Marlon
New User
Joined: 28 Jun 2007 Posts: 11 Location: Los Angeles
|
|
|
|
Got it!!! THANKS. |
|
Back to top |
|
|
|