Repairing a damaged page

You can use the REPAIR utility to repair a damaged page.

Procedure

To repair a damaged page:

  1. Execute REPAIR with the LOG YES option and the DUMP control statement, specifying the pages that you suspect are damaged.
    Then, verify that the dump you received contains the pages that you want.
  2. If you know which page is damaged and you can see how to resolve the error, repair the page and reset the inconsistent data indicator. Run REPAIR with the REPLACE RESET DATA control statement. Document your actions in case you need to undo anything later.
  3. If you determine that the page is not really damaged, but merely has the inconsistent data indicator on, reset the indicator by running REPAIR with the REPLACE RESET control statement.