VMS Help  —  CMS  VERIFY  Qualifiers  /REPAIR
    Controls whether or not the VERIFY command repairs the CMS
    library and files in the CMS library. You should use the /REPAIR
    qualifier if VERIFY issues a message concerning one of the
    following conditions:

    o  The CMS library has inconsistencies that CMS indicates are
       repairable.
    o  Element data files in the library were not closed by CMS.
    o  The checksum of elements in the library is invalid.
    o  Generations in the library have invalid maximum record size.
    o  A data block was not found on pass 1.
    o  The reference copy for an element is missing.
    o  A reference copy is found for an element with the /NOREFERENCE_
       COPY qualifier.
    o  There are duplicate reference copies for an element.
    o  The reference copy of an element is invalid.

    If reference copies need repairing, VERIFY/REPAIR creates or
    deletes files as necessary to correct the information in the
    reference copy directory.

    If a file was not closed by CMS, VERIFY/REPAIR repairs the OpenVMS
    RMS file header so that the file can be successfully verified. If
    the checksum of a file does not correspond to the contents of the
    file, VERIFY/REPAIR recalculates the checksum so that the library
    can be verified.

    If any of these conditions exist, data may have been changed in
    the library by methods other than the normal updating of the
    library with CMS commands. For example, a file may have been
    opened and modified with a text editor. You may want to find out
    why the files could not be verified.
Close Help