Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

relevance of FILEIN and FILEOUT in rexx program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: relevance of FILEIN and FILEOUT in rexx program
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

Moderator Team Head


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

PostPosted: Tue Feb 24, 2009 11:23 pm    Post subject: Reply to: relevance of FILEIN and FILEOUT in rexx program
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us