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
 
To read the member name from the input JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: To read the member name from the input JCL
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 09, 2009 6:59 pm    Post subject:
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    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 see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Getting Mutiple input from Panels vidyaa CLIST & REXX 12 Mon Aug 14, 2017 1:28 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm

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