One tool you can use to find uncatalogued datasets is DFDSS - and you can use TYPRUN=NORUN to just get the displays. Try using something like this:
//GUK17X EXEC PGM=ADRDSSU, PARM='TYPRUN=NORUN' , // REGION=4000K //SYSUT2 DD DUMMY //SYSU01 DD DISP=SHR,UNIT=SYSDA,VOL=SER=SP8060 //SYSIN DD *,DCB=BLKSIZE=80 DUMP INDD(SYSU01) - OUTDD(SYSUT2) - DATASET (EXCLUDE (SYS*.**) - BY ((CATLG EQ NO) (DSORG NE VSAM) )) /* //SYSOUT DD SYSOUT=X //SYSPRINT DD SYSOUT=X //SYSUDUMP DD DUMMY This should try to dump all of the non-VSAM datasets on volume SP8060 that are not catalogued. The output is dummied and the TYPRUN=NORUN causes the job to do nothing, but it should give you a list of uncataloged datasets on the volume. And with a simple REXX you could generate a ton of these steps from a list of volumes. Thanks Todd Burrell | Sr. IT Systems Engineer | Mainframe -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Jack Zukt Sent: Tuesday, July 26, 2022 6:02 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Finding uncatalogued datasets Nope, that is not the original problem. What happened was that when I was working through a list of datasets that have not been used for over a year, I found out that some of those files were not catalogued. As those are (were) SMS managed datasets, this should not happen. The user catalogs are alright or we would be having a lot of problems. But , for some reason, some files were uncatalogued but not scratched from the VTOC. I suppose that can happen to some GDG entries when the base definition is "NOSCRATCH". But most of the files that I have found so far are not GDG entries. So, I need a process to find uncatalogued datasets that will not take ages to run, that will not be way too much CPU heavy, and that does not rely on vendor software other than the IBM software that we already have. And ideally I would not want to use REXX programming or if I have to use it, that it will be very simple, easy to understand and to maintain if such a need would arise. Regards Jack On Tue, 26 Jul 2022 at 10:11, Colin Paice <colinpai...@gmail.com> wrote: > Do you need to worry about data sets cataloged in a user catalog, but > the user catalog is not connected to the master catalog - or is this > part of your original problem? > Colin > > ---------------------------------------------------------------------- > 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 We comply with applicable Federal civil rights laws and do not discriminate. You may access the Non-Discrimination and Accessibility Notice here <http://floridablue.com/ndnotice>. Language Assistance Available: Español, Kreyol Ayisien, Tiếng Việt, Português, 中文, Français, Tagalog, русский, Italiano, Deutsche, 한국어, Polskie, Gujarati, ไทย, العربية, 日本語, فارسی <http://floridablue.com/languageservices> Florida Blue is a trade name of Blue Cross and Blue Shield of Florida, Inc. Blue Cross and Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross and Blue Shield of Florida, Inc. The information contained in this document may be confidential and intended solely for the use of the individual or entity to whom it is addressed. This document may contain material that is privileged or protected from disclosure under applicable law. If you are not the intended recipient or the individual responsible for delivering to the intended recipient, please (1) be advised that any use, dissemination, forwarding, or copying of this document IS STRICTLY PROHIBITED; and (2) notify sender immediately by telephone and destroy the document. THANK YOU. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN