Copyright © TIBCO Software Inc. All Rights Reserved

> 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

> Parameter | Description
> xaResource | Commit the transaction in this resource.
> xid | Commit this transaction.
> onePhase | TIBEMS_TRUE requests a one-phase commit. TIBEMS_FALSE requests a two-phase commit.

Copyright © TIBCO Software Inc. All Rights Reserved