03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Managing the VTOC<br />

VTOC Indexes<br />

A VTOC index is a separate data set on a volume. Each index record identifies<br />

a data set residing on the volume, with a pointer to the DSCB <strong>for</strong> that file. This<br />

allows direct access by data set name, without resource-consuming scans. To<br />

locate the file, the VTOC index is read into storage, and the search <strong>for</strong> the data<br />

set name is made there.<br />

To locate a data set by data set name in a nonindexed VTOC, it is necessary to<br />

sequentially scan DSCBs on the device. This scan involves use of the channel,<br />

the DASD control unit, and the device itself.<br />

The VTOC is open <strong>for</strong> shorter periods of time, allowing more<br />

multiprogramming and multi-CPU activity to progress in a given period of<br />

time, because the processing of an indexed VTOC is streamlined. In short,<br />

system throughput is significantly enhanced, whether DASD files are controlled<br />

by <strong>CA</strong> <strong>Dynam</strong>/D.<br />

Processing the VTOC<br />

Depending on whether a volume has a VTOC index, the VTOC itself is<br />

maintained in native IBM <strong>for</strong>mat, and can be processed by any IBM operating<br />

system. If a volume has a VTOC index, however, all systems updating the<br />

VTOC must also be running <strong>CA</strong> <strong>Dynam</strong> VTOC management.<br />

A VTOC is normally initialized using the IBM utility, ICKDSF. This program also<br />

can build a VTOC index <strong>for</strong> the OS user. <strong>CA</strong> <strong>Dynam</strong>, while able to process a<br />

VTOC built with ICKDSF, cannot process a VTOC index built with this utility. If<br />

a VTOC index is built this way, it will be ignored. (For more in<strong>for</strong>mation about<br />

the program ICKDSF, see the IBM publication Device Support Facilities <strong>User</strong>'s<br />

<strong>Guide</strong> and Reference.)<br />

Building the VTOC Index<br />

A <strong>CA</strong> <strong>Dynam</strong> VTOC index is built using the <strong>CA</strong> <strong>Dynam</strong> utility, DYN<strong>CA</strong>T.<br />

Thereafter, each call to the <strong>VSE</strong> VTOC management routines is processed<br />

through the VTOC index.<br />

Chapter 4: Disk File Management 4–11

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

Saved successfully!

Ooh no, something went wrong!