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

To read the member name from the input JCL


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

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Tue Jun 09, 2009 5:52 pm
Reply with quote

My need is to read the input datasets to REXX along with the member name

Code:
RCX = LISTDSI(DDIN "FILE")       
SAY 'DSN: SYSDSNAME  ' SYSDSNAME
SAY 'DSN: SYSMEMBERS ' SYSMEMBERS
....................



Code:
//DDIN     DD DSN=ABC.CEFG.HIJK(MEMBER1),DISP=SHR
//         DD DSN=ABC.CEFG.HI4K(MEMBER1),DISP=SHR


In the output, I only see

Code:
The SYSDSNAME  is ABC.CEFG.HIJK
The SYSMEMBERS is   


Using which builtin, I will be able to invoke multiple datasets and their members name which are input to my REXX program.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 09, 2009 6:59 pm
Reply with quote

Take a look at THIS topic for some help.
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts force tablespace using LISTDEF input DB2 1
Search our Forums:

Back to Top