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.

4.41 VSAM: Data-in-virtual (DIV)<br />

DIV<br />

(Address space)<br />

(Dataspace)<br />

or<br />

(Hiperspace)<br />

Figure 4-51 Data-in-virtual (DIV)<br />

Data-in-virtual (DIV)<br />

You can access a linear data set using these techniques:<br />

► VSAM<br />

► DIV, if the control interval size is 4096 bytes. The data-in-virtual (DIV) macro provides<br />

access to VSAM linear data sets.<br />

► Window services, if the control interval size is 4096 bytes.<br />

Data-in-virtual (DIV) is an optional and unique buffering technique used for LDS data sets.<br />

Application programs can use DIV to map a data set (or a portion <strong>of</strong> a data set) into an<br />

address space, a data space, or a hiperspace. An LDS cluster is sometimes referred to as a<br />

DIV object. After setting the environment, the LDS cluster looks to the application as a table<br />

in virtual storage with no need <strong>of</strong> issuing I/O requests.<br />

Data is read into main storage by the paging algorithms only when that block is actually<br />

referenced. During RSM page-steal processing, only changed pages are written to the cluster<br />

in DASD. Unchanged pages are discarded since they can be retrieved again from the<br />

permanent data set.<br />

DIV is designed to improve the performance <strong>of</strong> applications that process large files<br />

non-sequentially and process them with significant locality <strong>of</strong> reference. It reduces the<br />

number <strong>of</strong> I/O operations that are traditionally associated with data retrieval. Likely candidates<br />

are large arrays or table files.<br />

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

Enable users to:<br />

Map data set to virtual storage<br />

Access data by exploiting paging<br />

algorithms

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

Saved successfully!

Ooh no, something went wrong!