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
 

 

Extract all the PS PDS and GDG for the given first qualifier

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Hariprasad_Pargunan

New User


Joined: 08 Jan 2009
Posts: 20
Location: Chennai

PostPosted: Sun Jul 11, 2010 8:25 pm    Post subject: Extract all the PS PDS and GDG for the given first qualifier
Reply with quote

Hi All,

I have a requirement where the first level qualifier of the dataset will be given from which I need to extract all the dataset names and its corresponding reference date.

I have tried the following option:-

LISTCAT -
ENTRIES(USERID.*) -
ALL

However, this gives only the dataset names which has only two qualifiers

eg:-
USERID.FILE1 ==> two qualifiers
USERID.FILE2 ==> two qualifiers

The other datasets mentioned below are not listed.

eg:-
USERID.QUAL1.FILE1 ==> More than two qualifiers
USERID.FILE1.GDG ==> GDG base and its versions

I even tried the following option but it didnt work.

LISTCAT -
ENTRIES(USERID.*.*) -
ALL


Could you please suggest me which option would list all the dataset names that starts with "USERID".
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Jul 11, 2010 8:55 pm    Post subject:
Reply with quote

Have you looked at Level?
Back to top
View user's profile Send private message
Hariprasad_Pargunan

New User


Joined: 08 Jan 2009
Posts: 20
Location: Chennai

PostPosted: Mon Jul 12, 2010 11:42 am    Post subject: Reply to: Extract all the PS PDS and GDG for the given first
Reply with quote

Hi,

I tried this option and it gives the desired result.

Thank you so much for your valuable time in spending on this.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts Sort Logic to extract data scorp_rahul23 DFSORT/ICETOOL 13 Tue Mar 01, 2016 1:22 am
No new posts how to extract the member name ? jackzhang75 CLIST & REXX 2 Wed Feb 17, 2016 9:21 pm


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