3.4. How to recover a damaged VSAM data set

IDCAMS has three important commands used to recover VSAM clusters and catalogs. They are: EXAMINE, DIAGNOSE, and VERIFY.

3.4.1. EXAMINE command

EXAMINE is an IDCAMS command that allows the user to analyze and collect information on the structural consistency of KSDS data set clusters and of a VVRDS data set cluster. In addition, EXAMINE can analyze and report on the structural integrity of the basic catalog structure (BCS) of an ICF catalog. This function cannot share a cluster opened for output or update by other task.

The EXAMINE function executes two possible tests:

  • Test the Index portion (INDEXTEST), the default

    Evaluates the full index component of the KSDS/VRRDS cluster by cross-checking vertical ...

Get VSAM Demystified now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.