3.3.4.9.1 Abort a Transaction Using CONNTYPE_TXUSER_BEGIN2
The application MUST perform the following actions:
If the connection state is not Processing Transaction:
Return a failure result to the higher-layer business logic.
Otherwise:
Send a TXUSER_BEGIN2_MTAG_ABORT (section 2.2.8.1.2.1) message using the CONNTYPE_TXUSER_BEGIN2 (section 2.2.8.1.2) connection.
Set the connection state to Awaiting Abort Response.