> > I have several VSAM data components in one of my USERCATs that are > cataloged to volumes that no longer exist. I've searched extensively > on how this might be done, and have tried several variations of the > IDCAMS DELETE command without success, including DELETE <entry> > NOSCRATCH, DELETE <entry> TRUENAME. I even attempted to REPRO > MERGECAT the orphaned entries to a new, temporary USERCAT that I > planned to simply delete if the MERGECAT was successful. Any ideas > on how to eliminate these undesired and orphaned catalog entries? > Keep in mind that the volumes these entries are pointing to do not > exist on my system. > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > >
You need to issue DELETE VVR command along with FILE keyword. ex: //STEP0100 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //VOLUME DD DISP=OLD,VOL=SER=volser //SYSIN DD * DELETE orphan.data/index.component.name - VVR - FILE(VOLUME) //* Alternatively you can also Print the VVDS and find the original catalog name and then create a ICF catalog with that name. You could then do a DEFINE RECATALOG followed by a DELETE. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN