Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 12 XA—External Transaction Manager : tibemsXAResource : tibemsXAResource_Commit

tibemsXAResource_Commit
Function
Purpose
Commit a transaction.
C Declaration
tibems_status tibemsXAResource_Commit(
    tibemsXAResource xaResource,
    XID* xid,
    tibems_bool onePhase );
COBOL Call
CALL "tibemsXAResource_Commit"
USING BY VALUE xaResource,
BY REFERENCE xid,
BY VALUE onePhase,
RETURNING tibems-status
END-CALL.
 
xaResource and xid have usage pointer.
Parameters
 
TIBEMS_TRUE requests a one-phase commit.
TIBEMS_FALSE requests a two-phase commit.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved