4.1.3.1.2 Phase One

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

 Field

 Value

 Value description

TIP command

0x50 0x52 0x45 0x50 0x41 0x52 0x45

"PREPARE"

TIP command line terminator

0x0A

LF

When the TIP subordinate transaction manager receives the PREPARE TIP command, it iterates through each of the transaction's subordinate branches and notifies the subordinates that the transaction processing has begun. The TIP subordinate transaction manager waits for reply notifications from each of its subordinates in order to determine the outcome of the transaction.

If each subordinate branch of a transaction successfully prepares for the transaction, the TIP subordinate transaction manager responds to the TIP superior transaction manager with the PREPARED TIP command. The State of the TIP connection changes to Prepared.

 Field

 Value

 Value description

TIP command

0x50 0x52 0x45 0x50 0x41 0x52 0x45 0x44

"PREPARED"

TIP command line terminator

0x0A

LF