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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DEFINE ALTERNATEINDEXWhen you use BLDINDEX to build a reusable alternate index, thehigh-used RBA is always reset to zero when the alternate index is opened<strong>for</strong> BLDINDEX processing.Reusable alternate indexes can be multivolumed and might have up to 123physical extents.Exception: If you use the keyword UNIQUE with REUSE, the DEFINEcommand is unsuccessful.Abbreviation: RUSNOREUSESpecifies that the alternate index cannot be used again as a new alternateindex.Abbreviation: NRUSSHAREOPTIONS(crossregion[ crosssystem]|1 3)Specifies how an alternate index’s data or index component can be sharedamong users. However, SMS-managed volumes, and catalogs containingSMS-managed data sets, must not be shared with non-SMS systems. For dataintegrity, ensure that share options defined <strong>for</strong> data and index components arethe same. For a description of data set sharing, see z/<strong>OS</strong> <strong>DFSMS</strong>: Using DataSets.crossregionIndicates the amount of sharing allowed among regions within the samesystem or within multiple systems using global resource serialization(GRS). Independent job steps in an operating system, or multiple systemsin a GRS ring, can access a VSAM data set concurrently. For morein<strong>for</strong>mation about GRS, see z/<strong>OS</strong> MVS Planning: Global ResourceSerialization. To share a data set, each user must include DISP=SHR in thedata set’s DD statement. You can use the following options:OPT 1 The data set can be shared by any number of users <strong>for</strong> readprocessing, or the data set can be accessed by only one user <strong>for</strong>read and write processing. This setting does not allow anynon-RLS access when the data set is already open <strong>for</strong> VSAM RLSor <strong>DFSMS</strong>tvs processing. An RLS or <strong>DFSMS</strong>tvs open fails with thisoption if the data set is already open <strong>for</strong> any processing.OPT 2 The data set can be accessed by any number of users <strong>for</strong> readprocessing, and it can also be accessed by one user <strong>for</strong> writeprocessing. It is the user’s responsibility to provide read integrity.VSAM ensures write integrity by obtaining exclusive control <strong>for</strong> acontrol interval while it is being updated. A VSAM RLS or<strong>DFSMS</strong>tvs open is not allowed while the data set is open <strong>for</strong>non-RLS output.If the data set has already been opened <strong>for</strong> VSAM RLS or<strong>DFSMS</strong>tvs processing, a non-RLS open <strong>for</strong> input is allowed; anon-RLS open <strong>for</strong> output fails. If the data set is opened <strong>for</strong> input innon-RLS mode, a VSAM RLS or <strong>DFSMS</strong>tvs open is allowed.OPT 3 The data set can be fully shared by any number of users. The useris responsible <strong>for</strong> maintaining both read and write integrity <strong>for</strong> thedata the program accesses. This setting does not allow anynon-RLS access when the data set is already open <strong>for</strong> VSAM RLSor <strong>DFSMS</strong>tvs processing. If the data set is opened <strong>for</strong> input innon-RLS mode, a VSAM RLS or <strong>DFSMS</strong>tvs open is allowed.Chapter 13. DEFINE ALTERNATEINDEX 137

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

Saved successfully!

Ooh no, something went wrong!