Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Listing EVERY Dataset on a system

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
DaveV

New User


Joined: 12 Apr 2016
Posts: 5
Location: United States

PostPosted: Thu Jan 09, 2020 7:48 pm    Post subject: Listing EVERY Dataset on a system
Reply with quote

Hi all, new here. I am not sure which sub-forum this belongs in so I will start here. We have a mainframe which needs a major DASD/Dataset cleanup. I would like to extract a listing of all datasets that are cataloged (and this that aren't if possible) into a flat file and download it to my PC do some analysis. I know how to get a listing of all catalogs, then dump the contents of each catalog via IDCAMS/LISTCAT but the listing is in multi-line format and not conducive to PC analysis. The Info I would like is creation+expiration date, volume, size and anything else relevant. Even if I could do a list via TSO option 3.4 and save the output so I could download it, that would be great. Any and all advice/ideas are appreciated!
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8519
Location: Dubuque, Iowa, USA

PostPosted: Thu Jan 09, 2020 8:33 pm    Post subject: Reply to: Listing EVERY Dataset on a system
Reply with quote

DCOLLECT would be one way to do it -- check out the Access Method Services manual.
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 337
Location: Denmark

PostPosted: Thu Jan 09, 2020 8:37 pm    Post subject:
Reply with quote

Install the VTOC pgm from cbttape.org file 112. I gives you a nice customizable list. It is based on the VTOC (obviously) but one option is to check for cataloged status.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 196
Location: UK

PostPosted: Fri Jan 10, 2020 2:27 pm    Post subject: Re: Listing EVERY Dataset on a system
Reply with quote

DaveV wrote:
Even if I could do a list via TSO option 3.4 and save the output so I could download it, that would be great. Any and all advice/ideas are appreciated!


You know you can do that, right? When your list is displayed, enter the SAVE LIST command. A userid.LIST.DATASETS dataset will be created.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1685
Location: Tiruppur, India

PostPosted: Fri Jan 10, 2020 11:04 pm    Post subject:
Reply with quote

Hi David,
The ISPF 3.4 option may not suitable in this case because the TS wants list of all datasets, and to list datasets in 3.4 we need minimum of 1 qualifier in the dataset name.
It may not be possible to manually put in all available HLQ to get a list.

However I agree that SAVE LIST command saves the 3.4 list and is very handy.

For the initial question, I think IDCAMS DCOLLECT is one of the good sources and I would go with processing it.

Regards,
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Warning in dataset message Renato Zangerolami TSO/ISPF 18 Thu Feb 13, 2020 6:41 pm
No new posts Copy a dataset without authorization Renato Zangerolami TSO/ISPF 15 Tue Feb 11, 2020 6:15 pm
No new posts doubt when executing a file when logg... Renato Zangerolami TSO/ISPF 2 Fri Feb 07, 2020 6:07 pm
No new posts How to compare Packed date in details... Floramq SYNCSORT 5 Sun Jan 05, 2020 7:40 am
No new posts CP3KEXTR Setup- SYSTEM COMPLETION COD... mighty ABENDS & Debugging 7 Tue Dec 24, 2019 10:08 pm

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