View previous topic :: View next topic
|
Author |
Message |
DaveV
New User
Joined: 12 Apr 2016 Posts: 7 Location: United States
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
DCOLLECT would be one way to do it -- check out the Access Method Services manual. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
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 |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
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 |
|
|
|