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

Using JCL to Reference a member of a PDS that is a GDG


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Feb 15, 2007 9:44 pm
Reply with quote

A PDS dataset can be defined as a GDG. How do you code the JCL to READ a member of the GDG in?

Something like:
DSN=HLQ.AAAA.BBBB.CCCC(0)(MEMNAME)
does not work
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu Feb 15, 2007 10:01 pm
Reply with quote

I believe that you have to fully-qualify the dataset

DSN=HLQ.AAAA.BBBB.CCCC.G0000V00(MEMNAME)
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Feb 15, 2007 10:05 pm
Reply with quote

That's was I was afraid of. I'll just use a utility to extract the information from the member in a separate step and pass the data.

Thanks for the quick reply...
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare the member of two pds on las... DFSORT/ICETOOL 13
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts PDS member list with stats JCL & VSAM 6
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
Search our Forums:


Back to Top