Displaying IMS-Db2 indoubt units of recovery

You can display information about threads whose status is indoubt by using the Db2 DISPLAY THREAD command.

About this task

Begin general-use programming interface information.One function of the thread that connects Db2 to IMS is to keep data in synchronization between the two systems. If the application program requires it, a change to IMS data must also be made to Db2 data. If Db2 abends while connected to IMS, IMS might commit or back out work without Db2 being aware of it. When Db2 restarts, that work is termed indoubt. Typically, some decision must be made about the status of the work.

Procedure

To display a list of indoubt units of recovery:

Issue the DISPLAY THREAD command.
For example:
-DISPLAY THREAD (imsid) TYPE (INDOUBT)
This command produces messages similar to the following:
DSNV401I -STR DISPLAY THREAD REPORT FOLLOWS -
DSNV406I -STR POSTPONED ABORTT THREADS - 920
COORDINATOR               STATUS      RESET URID         AUTHID
SYS3                      P-ABORT           00017854FF6B ADMF001
V449-HAS NID= SYS3.400000000 AND ID= 0001BMP255
BATCH                     P-ABORT           00017854A8A0 ADMF001
V449-HAS NID= DSN:0001.0 AND ID= RUNP10
BATCH                     P-ABORT           00017854AA2E ADMF001
V449-HAS NID= DSN:0002.0 AND ID= RUNP90
BATCH                     P-ABORT           0001785CD711 ADMF001
V449-HAS NID= DSN:0004.0 AND ID= RUNP12
DISPLAY POSTPONED ABORT REPORT COMPLETE
DSN9022I -STR DSNVDT '-DISPLAY THREAD' NORMAL COMPLETION                

End general-use programming interface information.