3.3.5.1 Receiving ABORT TIP Command

When the TIP subordinate transaction manager facet (section 1.3.1.2.2) receives an ABORT TIP command, it MUST perform the following actions:

  • If the Connection Type field of the receiving TIP connection object is not set to Secondary, signal the Invalid TIP Command event (section 3.3.7.1) and terminate the processing of this event.

  • If the State field of the receiving TIP connection object is not set to either Aborted, Enlisted, or Prepared, signal the Invalid TIP Command event (section 3.3.7.1) and terminate the processing of this event.

  • If the State field of the receiving TIP connection object is set to Aborted:

    •  Set the State field of the TIP connection object referenced by the provided enlistment to Idle.

    • Send an ABORTED TIP command.

  • Otherwise: