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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Sun Jul 11, 2010 8:55 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts optim extract file - SAS DB2 2
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top