Be very careful running DFDSS to delete uncataloged datasets.  Make certain you 
understand the complete catalog structure.  I would not be surprised to see 
that "uncataloged" SYS1.* datasets are actually active and in use on other 
running systems. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Doug
Sent: Monday, February 25, 2019 6:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Identifying and eliminating uncataloged datasets

Tony,

Please consider that SYS?.** datasets might be on volumes that represent 
the previous running system volumes.

Do the volumes look like previous 'sysres' volumes?

My 2 cents, take some time to investigate the date and contents, might 
be you don't want to trash them yet.

On the other hand, if you are sure you have the ability to recover your 
running system and do know what your fall back system is them, blast away.

Just my 2 cents..

Doug

On 2/25/2019 20:54, Wayne Bickerdike wrote:
> ADRDSSU if you have it.
>
> Dump and delete the uncataloged datasets.
>
> Later you can RESTORE with a new HLQ if desired.
>
> //STEP1    EXEC  PGM=ADRDSSU
> //SYSPRINT DD    SYSOUT=A
> //DASD1    DD    VOL=SER=MYVOL1,UNIT=SYSDA,DISP=OLD
> //DASD2    DD    VOL=SER=MYVOL2,UNIT=SYSDA,DISP=OLD
> //TAPE     DD    UNIT=3480,VOL=SER=TAPE04,LABEL=(1,SL),
> //  DISP=(NEW,CATLG),DSN=USER3.BACKUP
> //SYSIN    DD    *
>    DUMP DATASET(INCLUDE(**) -
>                 BY((DSORG NE VSAM) -
>                    (CATLG EQ NO))) -
>         LOGINDDNAME(DASD1,DASD2) -
>         OUTDDNAME(TAPE) -
>         DELETE PURGE
> /*
>
>
>
> On Tue, Feb 26, 2019 at 11:28 AM Tony Thigpen <t...@vse2pdf.com> wrote:
>
>> I have inherited a system where nobody bothered to clean-up after
>> themselves. If I do a DITTO VTOC of all the volumes, I can sometimes
>> find 5 or 6 copies of the same dataset, some of which are SYSx.*.
>>
>> I would like to first rename all the uncataloged versions so I can
>> eventually delete them.
>>
>> Does anybody know of a free tool that would help with this process?
>>
>> --
>> Tony Thigpen
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to