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.

Cache structures<br />

Coupling Facility cache structures provide a level <strong>of</strong> storage hierarchy between local memory<br />

and DASD cache.<br />

They are also used as system buffer pool with cross-invalidation being done (see 7.8,<br />

“Buffering under VSAM RLS” on page 388).<br />

Each Coupling Facility cache structure is contained in a single Coupling Facility. You may<br />

have multiple Coupling Facilities and multiple cache structures.<br />

The minimum size <strong>of</strong> the cache structure is 10 MB.<br />

Sizing the lock and cache structure<br />

For information about sizing the CF lock and cache structure for VSAM RLS, see:<br />

► z/<strong>OS</strong> DFSMStvs Planning and Operation Guide, SC26-7348<br />

► z/<strong>OS</strong> DFSMSdfp Storage Administration Reference, SC26-7402<br />

A sizing tool known as CFSIZER is also available on the <strong>IBM</strong> Web site at:<br />

http://www-1.ibm.com/servers/eserver/zseries/cfsizer/vsamrls.html<br />

Defining Coupling Facility structures<br />

Use CFRM policy definitions to specify an initial and maximum size for each Coupling Facility<br />

structure. DFSMS uses the initial structure size you specify in the policy each time it connects<br />

to a Coupling Facility cache structure.<br />

//STEP10 EXEC PGM=IXCMIAPU<br />

//SYSPRINT DD SYSOUT=A<br />

//SYSABEND DD SYSOUT=A<br />

//SYSIN DD *<br />

DATA TYPE(CFRM) REPORT(YES)<br />

DEFINE POLICY NAME(CFRM01) REPLACE(YES)<br />

STRUCTURE NAME(CACHE01)<br />

SIZE(70000)<br />

INITSIZE(50000)<br />

PREFLIST(CF01,CF02)<br />

STRUCTURE NAME(CACHE02)<br />

SIZE(70000)<br />

INITSIZE(50000)<br />

PREFLIST(CF01,CF02)<br />

STRUCTURE NAME(IGWLOCK00)<br />

SIZE(30000)<br />

INITSIZE(15000)<br />

PREFLIST(CF01,CF02)<br />

/*<br />

Figure 7-15 Example <strong>of</strong> defining VSAM RLS CF structure<br />

Displaying Coupling Facility structures<br />

You can use the system command DISPLAY XCF to view your currently defined Coupling<br />

Facility structures. An example <strong>of</strong> XCF display <strong>of</strong> the lock structure is in Figure 7-16 on<br />

page 399.<br />

398 <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!