11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

► Place the SHCDSs on volumes with global connectivity because VSAM RLS processing is<br />

only available on those systems that currently have access to the active SHCDS.<br />

► The SHCDSs must not be shared outside the sysplex.<br />

► Use SHAREOPTIONS(3,3).<br />

► If SMS-managed, use a storage class with guaranteed space for the SHCDSs.<br />

► Use the naming convention: SYS1.DFPSHCDS.qualifier.Vvolser, where:<br />

– qualifier is a 1- to 8-character qualifier <strong>of</strong> your choice.<br />

– volser is the volume serial number <strong>of</strong> the volume on which the data set resides.<br />

► All SHCDSs are to be <strong>of</strong> the same size.<br />

► An SHCDS can have extents only on the same volume.<br />

Both the primary and secondary SHCDS contain the same data. With the duplexing <strong>of</strong> the<br />

data, VSAM RLS ensures that processing can continue in case VSAM RLS loses connection<br />

to one SHCDS or the control data set got damaged. In that case, you can switch the spare<br />

SHCDS to active.<br />

Note: The SMSVSAM address space needs RACF UPDATE authority to<br />

SYS1.DFPSHCDS.<br />

JCL to allocate the SHCDSs<br />

You can use the sample JCL in Figure 7-19 to allocate your SHCDSs.<br />

//STEP01 EXEC PGM=IDCAMS<br />

//SYSPRINT DD SYSOUT=*<br />

//SYSIN DD *<br />

DEFINE CLUSTER( -<br />

NAME(SYS1.DFPSHCDS.PRIMARY.VTOTSMA) -<br />

VOLUMES(TOTSMA) -<br />

MEGABYTES(10 10) -<br />

LINEAR -<br />

SHAREOPTIONS(3,3) -<br />

STORAGECLASS(GSPACE))<br />

DEFINE CLUSTER( -<br />

NAME(SYS1.DFPSHCDS.SECONDRY.VTOTCAT) -<br />

VOLUMES(TOTCAT) -<br />

MEGABYTES(10 10) -<br />

LINEAR -<br />

SHAREOPTIONS(3,3) -<br />

STORAGECLASS(GSPACE))<br />

DEFINE CLUSTER( -<br />

NAME(SYS1.DFPSHCDS.SPARE.VTOTSMS) -<br />

VOLUMES(TOTSMS) -<br />

MEGABYTES(10 10) -<br />

SHAREOPTIONS(3,3) -<br />

LINEAR -<br />

STORAGECLASS(GSPACE))<br />

Figure 7-19 Allocating VSAM RLS SHCDSs<br />

To calculate the size <strong>of</strong> the sharing control data sets, follow the guidelines provided in z/<strong>OS</strong><br />

DFSMSdfp Storage Administration Reference, SC26-7402.<br />

Chapter 7. DFSMS Transactional VSAM Services 403

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

Saved successfully!

Ooh no, something went wrong!