The VERIFY command attempts to open a VSAM data set in order to verify that it can be read and that the index is usable. The data set is assumed to be readable if it can be opened without error or if it is locked to another process.
If the index is found to be unusable, the VERIFY command rebuilds the index by creating a new index file for the primary key and all alternate keys. The data portion of the data set is not changed.
Parameters:
MFJAMS uses the parameters described in the following list. All other parameters are ignored.
- FILE(ddname)
- Name of the DD statement, contained in the JCL for this job step, that provides the name of the data set that is to be verified.
- DATASET(data-set-name)
- Name of the data set.
Comments:
FILE and DATASET are mutually exclusive. You must specify one of them.