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.

ALTERSMS-managed volumes, and catalogs containing SMS-managed data sets, mustnot be shared with non-SMS systems. (For a description of data set sharing, seez/<strong>OS</strong> <strong>DFSMS</strong>: Using Data Sets).The value of SHAREOPTIONS is assumed to be (3,3) when the data set isaccessed in VSAM RLS or <strong>DFSMS</strong>tvs mode.crossregionSpecifies 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 a descriptionof GRS, see z/<strong>OS</strong> MVS Planning: Global Resource Serialization. Option 3 is theonly one applicable <strong>for</strong> altering a catalog. To share a data set, each usermust code DISP=SHR in the data set’s DD statement. You can use thefollowing 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. VSAM ensures complete data integrity<strong>for</strong> the data set. This setting does not allow any non-RLS accesswhen the data set is already open <strong>for</strong> VSAM RLS or <strong>DFSMS</strong>tvsprocessing. A VSAM RLS or <strong>DFSMS</strong>tvs open will fail 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.This option is the only one applicable to a catalog.OPT 4 The data set can be fully shared by any number of users. For eachrequest, VSAM refreshes the buffers used <strong>for</strong> direct processing.This setting does not allow any non-RLS access when the data setis already open <strong>for</strong> RLS or <strong>DFSMS</strong>tvs processing. If the data set isopened <strong>for</strong> input in non-RLS mode, a VSAM RLS or <strong>DFSMS</strong>tvsopen is allowed.As in SHAREOPTIONS 3, each user is responsible <strong>for</strong> maintainingboth read and write integrity <strong>for</strong> the data the program accesses.crosssystemIs the amount of sharing allowed among systems. Job steps of two or moreoperating systems can gain access to the same VSAM data set regardless ofthe disposition specified in each step’s DD statement <strong>for</strong> the data set. ToChapter 5. ALTER 69

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

Saved successfully!

Ooh no, something went wrong!