3.4.5.1 Receiving ABORT TIP Command

When the TIP transaction manager communicating with an application facet (section 1.3.1.2.3) 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.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 either Aborted or Begun, 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 set to Aborted:

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

    • Send an ABORTED TIP command.

  • Otherwise, if the State field of the receiving TIP connection object is set to Begun: