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.

6.15 Checking the integrity on an ICF structure<br />

UCAT1<br />

Index Data component<br />

DSNAME1<br />

DSNAME2<br />

DSNAME3<br />

DSNAME4<br />

DSNAME5<br />

.<br />

.<br />

.<br />

DSNAMEn<br />

DSNAME1 VOL001<br />

...<br />

DSNAME2<br />

DSNAME3<br />

DSNAME4<br />

DSNAME5<br />

DSNAMEn<br />

Figure 6-28 Errors in an ICF structure<br />

...<br />

...<br />

...<br />

...<br />

...<br />

VOL002<br />

VOL001<br />

VOL002<br />

VOL001<br />

VSAM error,<br />

detected by EXAMINE<br />

VOL002<br />

DSNAME1 ... UCAT1<br />

DSNAME3 ... UCAT1<br />

DSNAME5 ... UCAT27<br />

DSNAME2 ... UCAT1<br />

DSNAME4 ... UCAT1<br />

DSNAMEn ... UCAT1<br />

VOL001<br />

VOL002<br />

Two types <strong>of</strong> errors<br />

There are two types <strong>of</strong> errors in the ICF structure that cause the need for recovery. They are:<br />

► An error in the structural integrity <strong>of</strong> the BCS or VVDS as VSAM data sets - VSAM error<br />

Errors in the structure <strong>of</strong> a BCS as a VSAM KSDS or the VVDS as a VSAM ESDS data set<br />

usually mean that the data set is broken (logically or physically). The data set no longer<br />

has a valid structure that the VSAM component can handle. VSAM does not care about<br />

the contents <strong>of</strong> the records in the BCS or VVDS.<br />

► An error within the data structure <strong>of</strong> a BCS or VVDS - catalog error<br />

The VSAM structure <strong>of</strong> the BCS or VVDS is still valid. VSAM has no problems accessing<br />

the data set. However, the content <strong>of</strong> the single records in the BCS or VVDS does not<br />

conform with the catalog standards. The information in the BCS and VVDS for a single<br />

data set can be unsynchronized, thereby making the data set inaccessible.<br />

VSAM errors<br />

Two kinds <strong>of</strong> VSAM errors that can occur with your BCS or VVDS:<br />

► Logical errors<br />

The records on the DASD volume still have valid physical characteristics like record size or<br />

CI size. The VSAM information in those records is wrong, like pointers from one record to<br />

another or the end-<strong>of</strong>-file information.<br />

VVDS<br />

VVDS<br />

catalog error,<br />

detected by DIAGN<strong>OS</strong>E<br />

Chapter 6. Catalogs 357

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

Saved successfully!

Ooh no, something went wrong!