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
 
To get the count of PDS data sets which has a common qualifi

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

New User


Joined: 04 Sep 2017
Posts: 41
Location: India

PostPosted: Fri Nov 30, 2018 8:38 pm    Post subject: To get the count of PDS data sets which has a common qualifi
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: 681
Location: The Universe

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

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

Active User


Joined: 01 Sep 2015
Posts: 248
Location: Denmark

PostPosted: Sat Dec 01, 2018 3:00 pm    Post subject:
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: 8744
Location: Welsh Wales

PostPosted: Mon Dec 03, 2018 12:52 pm    Post subject:
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: 41
Location: India

PostPosted: Mon Dec 03, 2018 1:19 pm    Post subject:
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    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 DB2 - loading data Joshua1066 DB2 5 Sun Nov 18, 2018 4:58 am
No new posts How to count the number of times key ... vnktrrd DFSORT/ICETOOL 14 Thu Nov 15, 2018 9:19 pm
This topic is locked: you cannot edit posts or make replies. DFSORT output in CSV for data spans i... hiravibk DFSORT/ICETOOL 3 Tue Nov 13, 2018 7:55 pm
No new posts REFORMATTING WITH JFY CLOBBERING OUTP... speermb DFSORT/ICETOOL 12 Thu Nov 08, 2018 7:20 pm
No new posts Migrating AS400 to HIVE; Data type ma... sindhu.jose All Other Mainframe Topics 1 Tue Nov 06, 2018 1:06 pm

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