IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

relevance of FILEIN and FILEOUT in rexx program


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Marlon

New User


Joined: 28 Jun 2007
Posts: 11
Location: Los Angeles

PostPosted: Tue Feb 24, 2009 10:22 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Feb 24, 2009 11:23 pm
Reply with quote

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
View user's profile Send private message
Marlon

New User


Joined: 28 Jun 2007
Posts: 11
Location: Los Angeles

PostPosted: Wed Feb 25, 2009 12:46 am
Reply with quote

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
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Feb 25, 2009 3:05 am
Reply with quote

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
View user's profile Send private message
Marlon

New User


Joined: 28 Jun 2007
Posts: 11
Location: Los Angeles

PostPosted: Wed Feb 25, 2009 4:26 am
Reply with quote

Got it!!! THANKS.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top