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
 
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 Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts How to Extract BMS Marco Source from ... Howard Hinman CICS 5 Tue Oct 31, 2017 11:13 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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