09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DELETERECOVERY|NORECOVERYspecifies whether a user catalog, a VSAM volume data set (VVDS), or ageneration data group (GDG) is to be deleted in preparation <strong>for</strong> recovery.RECOVERYWhen RECOVERY is specified and the entry name identifies a user catalog,the user catalog is to be replaced with an imported backup copy. The usercatalog, its VSAM volume record (VVR), and its VTOC entries are deleted.The VVR and DSCBs, <strong>for</strong> each of the objects defined in the user catalog,are not deleted or scratched. If the catalog is RACF-protected, alterauthority is required.VSAM must be able to read the VVDS or be able to process it as an ESDS<strong>for</strong> the function to complete successfully.When RECOVERY is specified and entryname identifies a VVDS, theVVDS is unusable or inaccessible and must be rebuilt by deleting,redefining, and loading the appropriate VSAM data sets on the volume.The VVDS entry’s DSCB will be scratched from the VTOC. The CATALOGparameter must contain the name of the master catalog when a VVDS isdeleted with the RECOVERY parameter. If RACF protected, ALTERauthority is required.When RECOVERY is specified and the entry name identifies a GDG, theSMS-managed or non-SMS-managed GDG entry is deleted from the catalogand generation data sets remain unaffected in the VTOC.If a VVDS contains a catalog entry or a system data set (SYS1.) entry thatis cataloged in a master catalog, the VVDS catalog entry and the DSCB ofthe associated VVDS will not be removed.If you delete a generation data group (DELETE GDG RECOVERY) usingRECOVERY, proper authority to the RACF resource <strong>for</strong> catalog function isnecessary.RECOVERY cannot be specified with FORCE, NOFORCE, PURGE,NOPURGE, ERASE, NOERASE, SCRATCH, or N<strong>OS</strong>CRATCH.Abbreviation: RCVRYNORECOVERYindicates that the entry is to be processed as described by the otherparameters specified.Abbreviation: NRCVRYSCRATCH|N<strong>OS</strong>CRATCHspecifies whether a data set is to be removed from the VTOC of the volume onwhich it resides. This parameter can be specified only <strong>for</strong> a cluster, an alternateindex, a page space, or a non-VSAM data set.Exception:vThe SCRATCH parameter is not applicable to tape library and tape volumeentries because they have no VVDS or VTOC entries. IDCAMS DELETE willdetermine if the data set to be deleted is a tape data set and issue theN<strong>OS</strong>CRATCH option on the delete request. For a data set on tape, using theNONVSAM parameter with a fully qualified entryname might causedynamic allocation of the data set, and there<strong>for</strong>e a tape mount. To avoid thetape mount in this situation, either specify N<strong>OS</strong>CRATCH or omitNONVSAM.Chapter 20. DELETE 225

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!