Delete dataset stupid question
I've got some datasets on a volume that are not cataloged anywhere. I think that I deleted a catalog before I deleted the datasets it contained. I've not come up with a way to delete them. I've tried IEHPROGM SCRATCH DSNAME=HISTCAT.DSNDBD.LANDMARK.TDB2SUMM.I0001.A001, C VOL=3390=STD001,PURGE IDCAMS //DD1 DD DISP=OLD,UNIT=3390,VOL=SER=STD001 DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 SCRATCH FILE(DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 PRG NVSAM FILE(DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 NVR FILE(DD1) All of which basically complain that SMS believes that the dataset is cataloged, which it is not. How can I remove these datasets? -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- 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
Re: Delete dataset stupid question
On Wed, 4 Nov 2009 13:52:35 -0500, Mark Pace mpac...@gmail.com wrote: I've got some datasets on a volume that are not cataloged anywhere. I think that I deleted a catalog before I deleted the datasets it contained. I've not come up with a way to delete them. I've tried IEHPROGM SCRATCH DSNAME=HISTCAT.DSNDBD.LANDMARK.TDB2SUMM.I0001.A001, C VOL=3390=STD001,PURGE IDCAMS //DD1 DD DISP=OLD,UNIT=3390,VOL=SER=STD001 DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 SCRATCH FILE (DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 PRG NVSAM FILE (DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 NVR FILE (DD1) All of which basically complain that SMS believes that the dataset is cataloged, which it is not. How can I remove these datasets? -- Mark - These appear to be DB2 datasets, which are Linear (VSAM). You were on the right track with the NVR, but that is for a non-vsam record. What you want is the VVR, like this: DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 VVR FILE(DD1) HTH, Pat L. -- 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
Re: Delete dataset stupid question
I would try using ISMF (Yes the ONLINE FUNCTION) to delete the datasets rather than IEHPROGM. Lizette I've got some datasets on a volume that are not cataloged anywhere. I think that I deleted a catalog before I deleted the datasets it contained. I've not come up with a way to delete them. I've tried IEHPROGM SCRATCH DSNAME=HISTCAT.DSNDBD.LANDMARK.TDB2SUMM.I0001.A001, C VOL=3390=STD001,PURGE IDCAMS //DD1 DD DISP=OLD,UNIT=3390,VOL=SER=STD001 DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 SCRATCH FILE(DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 PRG NVSAM FILE(DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 NVR FILE(DD1) All of which basically complain that SMS believes that the dataset is cataloged, which it is not. How can I remove these datasets? -- 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
Re: Delete dataset stupid question
My DASD guru suggests using IDCAMS with a file DD pointing to the volume and the command DELETE NVR -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mark Pace Sent: Wednesday, November 04, 2009 12:53 PM To: IBM-MAIN@bama.ua.edu Subject: Delete dataset stupid question I've got some datasets on a volume that are not cataloged anywhere. I think that I deleted a catalog before I deleted the datasets it contained. I've not come up with a way to delete them. I've tried IEHPROGM SCRATCH DSNAME=HISTCAT.DSNDBD.LANDMARK.TDB2SUMM.I0001.A001, C VOL=3390=STD001,PURGE IDCAMS //DD1 DD DISP=OLD,UNIT=3390,VOL=SER=STD001 DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 SCRATCH FILE(DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 PRG NVSAM FILE(DD1) DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 NVR FILE(DD1) All of which basically complain that SMS believes that the dataset is cataloged, which it is not. How can I remove these datasets? -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- 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
Re: Delete dataset stupid question
Mark - These appear to be DB2 datasets, which are Linear (VSAM). You were on the right track with the NVR, but that is for a non-vsam record. What you want is the VVR, like this: DELETE HISTCAT.DSNDBD.LANDMARK.HISTDABP.I0001.A001 VVR FILE(DD1) HTH, Pat L. WINNER! Thanks to all that made suggestions. -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- 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