09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 33. VERIFYThe VERIFY command causes a catalog to correctly reflect the end of a VSAM dataset after an error occurs while closing a VSAM data set. The error might havecaused the catalog to be incorrect. The syntax of the VERIFY command is:VERIFY{FILE(ddname)| DATASET(entryname)}VERIFY ParametersVERIFY ExampleVERIFY can be abbreviated: VFYException: If you use the VERIFY command on a linear data set, the explicitVERIFY function is bypassed. The linear data set is successfully opened and closed,without an error message, which resets the open indicator <strong>for</strong> the data set.The VERIFY command uses the following parameters.Required ParameterFILE(ddname)ddname names a DD statement identifying the cluster or alternate index beingverified. For further in<strong>for</strong>mation, see “Using VERIFY to Fix Improperly ClosedData Sets” in z/<strong>OS</strong> <strong>DFSMS</strong>: Using Data Sets. The data set is deallocated at theVERIFY job step termination.DATASET(entryname)specifies the name of the object being verified. If DATASET is specified, theobject is dynamically allocated. The data set is deallocated dynamically at jobtermination.Abbreviation: DSYou can use the VERIFY command following a system error that caused acomponent opened <strong>for</strong> update processing to be improperly closed. You can alsouse it to verify an entry-sequenced data set defined with RECOVERY that wasopen in create mode when the system error occurred. However, theentry-sequenced data set must contain records (not be empty) to successfullyverify.Recommendation: When sharing data sets between different processors, werecommend that you run VERIFY as the first step of a job stream to prevent jobtermination caused by an open access method control block (ACB) error code if theother processor already has the data set open.The VERIFY command can per<strong>for</strong>m the following function.© Copyright IBM Corp. 1973, 2004 349

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

Saved successfully!

Ooh no, something went wrong!