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

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

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

Tip: Place the SHCDSs on separate volumes to maximize availability. Avoid placing<br />

SHCDSs on volumes for which there might be extensive volume reserve activity.<br />

SHCDS operations<br />

Use the following command to activate your newly defined SHCDS for use by VSAM RLS.<br />

► For the primary and secondary SHCDS, use:<br />

VARY SMS,SHCDS(SHCDS_name),NEW<br />

► For the spare SHCDS, use:<br />

VARY SMS,SHCDS(SHCDS_name),NEWSPARE<br />

To display the used SHCDSs in an active configuration, use:<br />

D SMS,SHCDS<br />

Figure 7-20 displays an example <strong>of</strong> a SHCDS list in a sysplex.<br />

D SMS,SHCDS<br />

IEE932I 539<br />

IGW612I 17:10:12 DISPLAY SMS,SHCDS<br />

Name Size %UTIL Status Type<br />

WTSCPLX2.VSBOX48 10800Kb 4% GOOD ACTIVE<br />

WTSCPLX2.VSBOX52 10800Kb 4% GOOD ACTIVE<br />

WTSCPLX2.VSBOX49 10800Kb 4% GOOD SPARE<br />

----------------- 0Kb 0% N/A N/A<br />

----------------- 0Kb 0% N/A N/A<br />

----------------- 0Kb 0% N/A N/A<br />

----------------- 0Kb 0% N/A N/A<br />

----------------- 0Kb 0% N/A N/A<br />

----------------- 0Kb 0% N/A N/A<br />

----------------- 0Kb 0% N/A N/A<br />

Figure 7-20 Example <strong>of</strong> SHCDS display<br />

To delete logically either an active or a spare SHCDS, use:<br />

VARY SMS,SHCDS(SHCDS_name),DELETE<br />

Note: In the VARY SMS,SHCDS commands, the SHCDS name is not fully qualified.<br />

SMSVSAM takes as a default the first two qualifiers, which must always be<br />

SYS1.DFPSHCDS. You must specify only the last two qualifiers as the SHCDS names.<br />

404 <strong>ABCs</strong> <strong>of</strong> z/<strong>OS</strong> <strong>System</strong> <strong>Programming</strong> <strong>Volume</strong> 3

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

Saved successfully!

Ooh no, something went wrong!