Recovering IMS-Db2 indoubt units of recovery

When you determine that indoubt units of recovery exist, you recover from this situation by using the Db2 RECOVER INDOUBT command.

Procedure

To recover an indoubt unit:

Issue one of the following commands.

Begin general-use programming interface information. In each command, imsid is the connection name, and pst#.psbname is the correlation ID that is listed by the command DISPLAY THREAD. Your choice of the ACTION parameter tells whether to commit or roll back the associated unit of recovery.

  • -RECOVER INDOUBT (imsid) ACTION (COMMIT) ID (pst#.psbname)
  • -RECOVER INDOUBT (imsid) ACTION (ABORT) ID (pst#.psbname)

Results

One of the following messages might be issued after you issue the RECOVER command:

DSNV414I - THREAD pst#.psbname COMMIT SCHEDULED
DSNV415I - THREAD pst#.psbname ABORT SCHEDULED

End general-use programming interface information.