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.

4.45 VSAM: <strong>System</strong>-managed buffering (SMB)<br />

Only for SMS-managed extended format data sets<br />

and NSR buffering mode<br />

RECORD_ACCESS_BIAS in DATACLASS<br />

ACCBIAS subparameter <strong>of</strong> AMP, in JCL DD<br />

statement<br />

For ACCBIAS equal to SYSTEM, VSAM decisions<br />

based on MACRF parameter <strong>of</strong> ACB and MSR in<br />

storage class<br />

Optimum number <strong>of</strong> index and data buffers<br />

For random access, VSAM changes buffering<br />

management algorithm from NSR to LSR<br />

Figure 4-55 <strong>System</strong>-managed buffering (SMB)<br />

<strong>System</strong>-managed buffering (SMB)<br />

SMB is a feature <strong>of</strong> VSAM that was introduced in DFSMS V1R4. SMB enables VSAM to:<br />

► Determine the optimum number <strong>of</strong> index and data buffers<br />

► Change the buffer algorithm as declared in the application program in the ACB MACRF<br />

parameter, from NSR (sequential) to LSR (least recently used - LRU)<br />

Usually, SMB allocates many more buffers than are allocated without SMB. Performance<br />

improvements can be dramatic with random access (particularly when few buffers were<br />

available). The use <strong>of</strong> SMB is transparent from the point <strong>of</strong> view <strong>of</strong> the application; no<br />

application changes are needed.<br />

SMB is available to a data set when all the following conditions are met:<br />

► It is an SMS-managed data set.<br />

► It is in extended format (DSNTYPE = EXT in the data class).<br />

► The application opens the data set for NSR processing.<br />

SMB is invoked or disabled through one <strong>of</strong> the following methods:<br />

1. The Record Access Bias data class field.<br />

2. The ACCBIAS subparameter <strong>of</strong> AMP in the JCL DD statement. JCL information takes<br />

precedence over data class information.<br />

Chapter 4. Storage management s<strong>of</strong>tware 179

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

Saved successfully!

Ooh no, something went wrong!