3.2.5.6 Receiving PREPARED TIP Command

When the TIP superior transaction manager facet (section 1.3.1.2.1) receives a PREPARED TIP command, it MUST perform the following actions:

  • If the Connection Type field of the receiving TIP connection object is not set to Primary, signal the Invalid TIP Command Event (section 3.4.7.1) and terminate the processing of this TIP command.

  • If the State field of the receiving TIP connection object is not set to Enlisted Prepare, signal the Invalid TIP Command Event (section 3.4.7.1) and terminate the processing of this TIP command.

  • If the Partner Transaction Manager Address field of the receiving TIP connection object is not set, signal the Invalid TIP Command Event (section 3.4.7.1) and terminate the processing of this TIP command.

  • Signal the Enlistment Phase One Complete ([MS-DTCO] section 3.2.7.16) event on the core transaction manager facet with the following arguments:

    • The enlistment object referenced by the receiving connection object.

    • The Phase One outcome set to Prepared.

  • Set the State field of the receiving TIP connection object to Idle.

  • Set the State field of the receiving TIP connection object to Prepared.