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.

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.


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com