3.3.4.8.3 Commit a Transaction Using CONNTYPE_TXUSER_PROMOTE
The application MUST perform the following actions:
If the state of the connection is not Processing Transaction:
Return a failure result to the higher-layer business logic.
Otherwise:
Send a TXUSER_BEGIN2_MTAG_COMMIT (section 2.2.8.1.2.3) message using the CONNTYPE_TXUSER_PROMOTE (section 2.2.8.1.3) connection:
The grfRM field MUST be set to an implementation-defined GRFRM (section 2.2.7.1) value.
Set the connection state to Awaiting Commit Response.