When IMS(TM) connects to WebSphere MQ, WebSphere MQ might have one or more in-doubt units of recovery that have not been resolved.
If WebSphere MQ has in-doubt units of recovery that IMS did not resolve, the following message is issued at the IMS master terminal:
CSQQ008I nn units of recovery are still in doubt in queue manager qmgr-name
If this message is issued, IMS was either cold-started or it was started with an incomplete log tape. This message can also be issued if WebSphere MQ or IMS terminates abnormally because of a software error or other subsystem failure.
After receiving the CSQQ008I message:
If the in-doubt thread is not resolved, IMS message queues can start to build up. If the IMS queues fill to capacity, IMS terminates. You must be aware of this potential difficulty, and you must monitor IMS until the in-doubt units of recovery are fully resolved.
Use the following procedure to recover the IMS units of work:
+CSQ1 DISPLAY CONN(*) WHERE(UOWSTATE EQ UNRESOLVED)
You receive the following message:
CSQM201I +CSQ1 CSQMDRTC DISPLAY CONN DETAILS CONN(BC45A794C4290001) EXTCONN(C3E2D8C3E2C5C3F24040404040404040) TYPE(CONN) CONNOPTS( MQCNO_STANDARD_BINDING ) UOWLOGDA(2005-02-15) UOWLOGTI(16.39.43) UOWSTDA(2005-02-15) UOWSTTI(16.39.43) UOWSTATE(UNRESOLVED) NID(IM8F .BC45A794D3810344) EXTURID( 0000052900000000 ) QMURID(00000354B76E) URTYPE(IMS) USERID(STCPI) APPLTAG(IM8F) ASID(0000) APPLTYPE(IMS) PSTID(0004) PSBNAME(GP01MPP)
For IMS, the NID consists of the IMS connection name and a unique number provided by IMS. The value is referred to in IMS as the recovery token. For more information, see the IMS Customization Guide.
RESOLVE INDOUBT(connection-name) ACTION(COMMIT|BACKOUT) NID(network-id)
For information about the RESOLVE INDOUBT command, see the WebSphere MQ Script (MQSC) Command Reference manual.
To recover all threads associated with connection-name, use the NID(*) option. The command results in one of the following messages to indicate whether the thread is committed or backed out:
CSQV414I THREAD network-id COMMIT SCHEDULED CSQV415I THREAD network-id BACKOUT SCHEDULED
When performing in-doubt resolution, IMS and the adapter are not aware of the commands to WebSphere MQ to commit or back out in-doubt units of recovery because only WebSphere MQ resources are affected.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csq84hm |