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

To get the count of PDS data sets which has a common qualifi


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

New User


Joined: 04 Sep 2017
Posts: 43
Location: India

PostPosted: Fri Nov 30, 2018 8:38 pm
Reply with quote

Hi all,

I have multiple PDS which has same prefix like follows:

XX.W.TOTALS.OUTPUT1
XX.W.TOTALS.OUTPUT2
XX.W.TOTALS.OUTPUT3
XX.W.TOTALS.OUTPUT4
XX.W.TOTALS.OUTPUT5
XX.W.TOTALS.OUTPUT5.OUT1

I used the following code to get the list of above PDS:


Code:

//LIST     EXEC PGM=IDCAMS 
//SYSPRINT DD SYSOUT=*     
//SYSIN DD *               
   LISTCAT ENTRIES (XX.W.TOTALS.*)
/*


But XX.W.TOTALS.OUTPUT5.OUT1 PDS is not obtained in sysout. Could anyone please help me to get all the PDS listed above.

Thanks,
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Fri Nov 30, 2018 8:57 pm
Reply with quote

LISTCAT ENTRIES (XX.W.TOTALS)
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Sat Dec 01, 2018 3:00 pm
Reply with quote

LISTCAT LEVEL(XX.W.TOTALS)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 03, 2018 12:52 pm
Reply with quote

CSIUTIL - a utility which I used a lot when playing DASD farmer would give you what you wanted.

I have posted the code on here.
Back to top
View user's profile Send private message
Vignesh Sid

New User


Joined: 04 Sep 2017
Posts: 43
Location: India

PostPosted: Mon Dec 03, 2018 1:19 pm
Reply with quote

Thanks Willy and Steve for your inputs.

LISTCAT LEVEL(XX.W.TOTALS) gave me the desired results.

Regards,
Viky
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 To get the count of rows for every 1 ... DB2 3
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top