Start by explaining what you mean by "a non-existent dataset." Do you mean a catalog entry for which there is no corresponding dataset on the indicated volume? If that is the case, then there is no need to remove it from the volume (since it is not there anyway). But you do want to remove it from the catalog. The DELETE NOSCRATCH command as described in the Access Method Services is the usual tool of choice.
For datasets erroneously catalogued on SMS volumes, the LISTCAT ALL command will generate errors when it cannot extract information from the VVDS. You can list an entire catalog, hold the output, and use SDSF to search for the errors. If you know the volumes in question, the DCOLLECT, DIAGNOSE CATALOG, and DIAGNOSE VVDS commands ((all from Access Method Services) may provide useful information. If you don't know the volumes, the DSMON program from the RACF Auditor's Guide may provide useful information. -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Mohamed Juma Sent: Saturday, May 07, 2011 10:44 PM To: IBM-MAIN@bama.ua.edu Subject: Removing entries of non-existing data sets from SMS volumes We are facing a problem to remove entries of non-existing data sets from SMS volume, first how to check all volumes in that SMS group for the data sets which not existing, second how to delete their entries. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html