Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us