VERIFY Command - IBM Mainframe

When a data set is first opened after a system failure, VSAM gives an "improperly closed file" return code. In such a scenario a VERIFY command should be issued. This command will open the file, remove any discrepancies and properly close the file. The syntax of the command is as follows:

VERIFY

DATASET (CUSTOMER.KSDS.CLUSTER)

A base cluster or an alternate index cluster can be the object of the command but not the path of an alternate index. The cluster name should be used with this command. Verifying a base cluster does not VERIFY its alternate indexes so each one of them must be treated separately.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM Mainframe Topics