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.

DELETEAbbreviation: CATERASE|NOERASEspecifies whether the components of a cluster or alternate index to be deletedare to be erased (overwritten with binary zeros). This parameter overrideswhatever was coded when the cluster or alternate index was defined or lastaltered. Specify this parameter only when a cluster or an alternate index entryis to be deleted.If you use ERASE, one of the following conditions must be true:v The entry is in the master catalog.v The qualifiers in the entry’s qualified name are the catalog’s name or alias.ERASEspecifies that the components are to be overwritten with binary zeros whenthe cluster or alternate index is deleted. If ERASE is specified, the volumethat contains the data component must be mounted.If the cluster is protected by a RACF generic or discrete profile and thecluster is cataloged in a catalog, use RACF commands to specify an ERASEattribute as part of this profile so that the data component is automaticallyerased upon deletion.When you erase a data set, serialization is maintained using a RESERVE.For per<strong>for</strong>mance or access reasons, you might not want to use ERASE;another option is to convert the RESERVE to a systems enqueue. For morein<strong>for</strong>mation about RESERVE contention, see z/<strong>OS</strong> <strong>DFSMS</strong>: Managing<strong>Catalogs</strong>.Abbreviation: ERASNOERASEspecifies that the components are not to be overwritten with binary zeroswhen the cluster or alternate index is deleted.NOERASE will not prevent the component from being erased if the clusteris protected by a RACF generic or discrete profile that specifies the ERASEattribute and the cluster is cataloged in a catalog. You can use RACFcommands to alter the ERASE attribute in a profile.Abbreviation: NERASFILE(ddname)specifies the name of the DD statement that identifies:vvvvThe volume that contains a data set to be deleted with SCRATCH.The data set to be deleted if ERASE is specified.The partitioned data set from which a member (or members) is to bedeleted.The volumes that contain VVDS entries <strong>for</strong> the objects cataloged.v The VVDS volume that contains a VVR or NVR to be deleted.Use of the FILE parameter improves the per<strong>for</strong>mance of the DELETEcommand.When you delete a data set, the volume referred to in the DD statement mustbe the same as the volume referred to in the usercatalog.If you do not specify FILE and VSAM requires access to a volume or volumesduring the delete processing, VSAM tries to dynamically allocate the volumes.When ERASE is specified and FILE is not specified, VSAM tries to dynamically222 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

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

Saved successfully!

Ooh no, something went wrong!