4.1.3.1.4 Phase Two

In the second phase of two-phase commit processing, the TIP superior transaction manager sends the COMMIT TIP command to the TIP subordinate transaction manager.

 Field

 Value

 Value description

TIP command

0x43 0x4F 0x4D 0x4D 0x49 0x54

"COMMIT"

TIP command line Terminator

0x0A

LF

When the TIP subordinate transaction manager receives the COMMIT TIP command, it then iterates through each subordinate branch of the transaction and notifies the subordinates that the transaction is committed. It then waits for reply notifications from each of its subordinates in order to complete Phase Two processing.

When each subordinate branch of the transaction replies that it has committed the transaction, the TIP subordinate transaction manager responds to the TIP superior transaction manager with the COMMITTED TIP command. The State of the TIP connection changes to Idle and the Current transaction of the TIP connection is cleared.

 Field

 Value

 Value description

TIP command

0x43 0x4F 0x4D 0x4D 0x49 0x54 0x45 0x44

"COMMITTED"

TIP command line terminator

0x0A

LF