Ansicht
Dokumentation

CPD83A1 - XA transaction branch rolled back by resource manager. Reason code &1. ( OS/400 )

CPD83A1 - XA transaction branch rolled back by resource manager. Reason code &1. ( OS/400 )

PERFORM Short Reference   General Data in Customer Master  
This documentation is copyright by IBM.
SAP E-Book


Message : CPD83A1
XA transaction branch rolled back by resource manager. Reason code &1.

Message Long Text :

Cause . . . . . : The XA transaction branch with XID format identifier &4, global transaction identifier &5 and branch qualifier &6 was rolled back by the DB2 for IBM i XA resource manager before normal completion via the xa_commit or xa_rollback API. &3 associations remain for this transaction branch. If 0 associations remain, subsequent XA requests for this XID will return XAER_NOTA. The reason codes and their meanings follow:
1 -- The transaction branch timed out after &2 seconds.
2 -- A thread ended while it was associated with the transaction branch.
3 -- A connection ended while it was associated with the transaction branch.
4 -- The operator manually forced the transaction to rollback via the WRKCMTDFN (Work with Commitment Definitions) command.
5 -- The operator manually removed the transaction branch via the forget option of the WRKCMTDFN (Work with Commitment Definitions) command.
Recovery . . . :
No recovery is necessary. To avoid transactions from being rolled back by the DB2 for IBM i resource manager in the future, use the following recovery based on the reason code:
1 -- Consider whether the timeout value is too short. The timeout may have occurred because changes were attempted for an object that was locked by another transaction or job. The transaction branch timeout is set by the application via the xa_start_2 API or the tnStartTxObject procedure.
2 -- Do not end a thread before associations with all XA transaction branches are ended with the xa_end API.
3 -- Do not end a connection before associations with all XA transaction branches are ended with the tnEndTxObject procedure.
4 -- Do not use the WRKCMTDFN option to force rollback.
5 -- Do not use the WRKCMTDFN option to forget an XA transaction branch.

Message File : QCPFMSG
Library Message File : QSYS2924


Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by IBM.

Length: 3275 Date: 20240427 Time: 064417     sap01-206 ( 2 ms )