Restoring indexes with DSN1COPY

When a table space is restored using either the TOCOPY option of RECOVER or the DSN1COPY utility, restore the indexes.

Procedure

To restore indexes with DSN1COPY, use one of the following methods:

  • Use the RECOVER utility, if you have a full image copy available, and the index was defined with the COPY YES option.
  • Use DSN1COPY on the indexes, if a copy is available. If you specified the OBIDXLAT option for the data, you must also specify the OBIDXLAT option for the indexes. Also, the indexes must all have been copied at the same time as the data; otherwise, inconsistencies might exist.
  • If you do not have an image copy of the index, use the REBUILD INDEX utility, which reconstructs the indexes from the data.