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.

VARY SMS command<br />

Use the VARY SMS command to control SMSVSAM processing.<br />

► Start the VSAM RLS server address space on a single system.<br />

If not started during IPL because <strong>of</strong> RLSINIT(NO) in the IGDSMSxx PARMLIB member,<br />

you can start the RLS server manually with:<br />

V SMS,SMSVSAM,ACTIVE<br />

► Stop the RLS server address space.<br />

If the SMSVSAM address space fails, it is automatically restarted. If you want to stop the<br />

SMSVSAM address space permanently on a single system, use:<br />

V SMS,SMSVSAM,TERMINATESERVER<br />

Use this command only for specific recovery scenarios that require the SMSVSAM server<br />

to be down and to not restart automatically.<br />

► Fallback from RLS processing.<br />

A detailed procedure about falling back from RLS processing is described in z/<strong>OS</strong><br />

DFSMSdfp Storage Administration Reference, SC26-7402. Read it before using the<br />

following command:<br />

V SMS,SMSVSAM,FALLBACK<br />

This command is used as the last step in the disablement procedure to fall back from<br />

SMSVSAM processing.<br />

► Further VARY SMS commands.<br />

There are additional VARY SMS commands available to interact with VSAM RLS. They are:<br />

V SMS,CFCACHE(cachename),ENABLE|QUIESCE<br />

CFVOL(volid),ENABLE|QUIESCE<br />

MONDS(dsname[,dsname...]),ON|OFF<br />

SHCDS(shcdsname),NEW|NEWSPARE|DELETE<br />

SMSVSAM,SPHERE(spherename),ENABLE<br />

FORCEDELETELOCKSTRUCTURE<br />

Refer to z/<strong>OS</strong> MVS <strong>System</strong> Commands, SA22-7627 for information about these<br />

commands.<br />

Display commands<br />

There are a several display commands available to provide RLS-related information.<br />

► Display the status <strong>of</strong> the SMSVSAM address space:<br />

DISPLAY SMS,SMSVSAM{,ALL}<br />

Specify ALL to see the status <strong>of</strong> all the SMSVSAM servers in the sysplex.<br />

► Display information about the Coupling Facility cache structure:<br />

DISPLAY SMS,CFCACHE(CF_cache_structure_name|*)<br />

► Display information about the Coupling Facility lock structure IGWLOCK00:<br />

DISPLAY SMS,CFLS<br />

This information includes the lock rate, lock contention rate, false contention rate, and<br />

average number <strong>of</strong> requests waiting for locks.<br />

► Display XCF information for a CF structure:<br />

DISPLAY XCF,STR,STRNAME=structurename<br />

This provides information such as status, type, and policy size for a CF structure.<br />

Chapter 7. DFSMS Transactional VSAM Services 413

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

Saved successfully!

Ooh no, something went wrong!