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
 

 

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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm


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