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.

DEFINE CLUSTERintegrity. VSAM ensures write integrity by obtaining exclusivecontrol <strong>for</strong> a control interval while it is being updated. AVSAM RLS or <strong>DFSMS</strong>tvs open is not allowed while the dataset 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 in non-RLS mode, a VSAM RLS or <strong>DFSMS</strong>tvs open isallowed.OPT 3 The data set can be fully shared by any number of users. Eachuser is responsible <strong>for</strong> maintaining both read and writeintegrity <strong>for</strong> the data the program accesses. This setting doesnot allow any non-RLS access when the data set is alreadyopen <strong>for</strong> VSAM 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.OPT 4 The data set can be fully shared by any number of users. Foreach request, VSAM refreshes the buffers used <strong>for</strong> directprocessing. 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. If the data set is opened <strong>for</strong> input in non-RLSmode, a VSAM RLS or <strong>DFSMS</strong>tvs open is allowed.As in SHAREOPTIONS 3, each user is responsible <strong>for</strong>maintaining both read and write integrity <strong>for</strong> the data theprogram accesses.crosssystemSpecifies the amount of sharing allowed among systems. Job steps of twoor more operating systems can gain access to the same VSAM data setregardless of the disposition indicated in each step’s DD statement <strong>for</strong> thedata set. However, if you are using GRS across systems or JES3, the dataset might not be shared depending on the disposition of the system.To get exclusive control of the data set’s volume, a task in one systemissues the RESERVE macro. The level of cross-system sharing allowed byVSAM applies only in a multiple operating system environment.The cross-system sharing options are ignored by RLS or <strong>DFSMS</strong>tvsprocessing. The values are:1 Reserved2 Reserved3 Specifies that the data set can be fully shared. With this option,each user is responsible <strong>for</strong> maintaining both read and writeintegrity <strong>for</strong> the data that user’s program accesses. Userprograms that ignore write integrity guidelines can causeVSAM program checks, uncorrectable data set errors, and otherunpredictable results. This option requires each user to beresponsible <strong>for</strong> maintenance. The RESERVE and DEQ macrosare required with this option to maintain data set integrity. (Forin<strong>for</strong>mation on using RESERVE and DEQ, see z/<strong>OS</strong> MVSChapter 14. DEFINE CLUSTER 163

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

Saved successfully!

Ooh no, something went wrong!