VERIFY

The VERIFY command causes a catalog to correctly reflect the end of a VSAM data set after an error occurs while closing a VSAM data set. The error might have caused the catalog to be incorrect. When you add the RECOVER parameter, the VERIFY command also completes the interrupted VSAM processing.

The syntax of the VERIFY command is:

Command Parameters
VERIFY {FILE(ddname)| DATASET(entryname)}
   [RECOVER]

VERIFY can be abbreviated: VFY

Exception: If you use the VERIFY command on a linear data set, the explicit VERIFY function is bypassed. The linear data set is successfully opened and closed, without an error message, which resets the open indicator for the data set.