Errors during batch backout

The Batch Backout utility tries to handle I/O errors but will terminate processing if a read error occurs.

Before the Batch Backout utility makes any updates, it builds database buffers for any current (or pending) I/O errors. The utility applies updates to these buffers without trying to write them until the database is closed when the Batch Backout utility terminates. The Batch Backout utility issues message DFS0614I for each error buffer that it successfully writes and issues message DFS0615I when all errors are resolved.

If message DFS398I is issued, it means that the backout was not completed successfully because an I/O error occurred on the database that is specified in the message. You now must do a forward recovery for this database.

To do a forward recovery, you have two options:
  • Perform full database recovery on the database where the I/O error occurred during batch backout, including the Batch Backout log. After the database recovery is done, run Batch Backout utility on the PSBs again so that backout completes to the last checkpoint for all databases that were updated. After successful batch backout, original jobs can be restarted from last checkpoint.
  • Perform database recovery on all databases that were updated by the original batch job to a valid time stamp before the original batch job. After all relevant databases are recovered, the original batch job can be restarted.

If your batch job updates Db2 data, be sure to recover any Db2 resources that were not properly backed up.