4.1.3.1.1 Read Only

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 and it is not necessary for the TIP subordinate transaction manager to receive notification of the transaction's outcome, the TIP subordinate transaction manager is allowed to respond to the TIP superior transaction manager with the READONLY 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

0x52 0x45 0x41 0x44 0x4F 0x4E 0x4C 0x59

"READONLY"

TIP command line terminator

0x0A

LF