z/OS DFSMSdfp Diagnosis
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Recovering from index damage

z/OS DFSMSdfp Diagnosis
SC23-6863-00

  1. Use the access method services REPRO command to copy the data component of the KSDS. Specify the data component name (not the cluster name) in the REPRO INFILE parameter. See the chapter describing functional command format in z/OS DFSMS Access Method Services Commands for details about the REPRO command.
  2. Use a sort utility to sort the copied file. This eliminates any duplicate keys that might exist in the file.
  3. DELETE and re-DEFINE the damaged cluster.
  4. REPRO from the sorted file to the newly defined cluster. Record management rebuilds the index component.
    Note:
    1. This method does not work for a catalog or for a keyed cluster containing spanned records.
    2. Processing performed against the data set after initial index damage occurs will corrupt the data set content. This method is an attempt to recover as much as possible of the data set. If a backup copy of the data set exists, it may contain more desirable data set content than available by this method.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014