tibemsXAResource_Start

Function

Purpose

Associate a transaction with a resource.

C Declaration

tibems_status tibemsXAResource_Start(
    tibemsXAResource xaResource,
    XID* xid,
    tibems_int flags );

COBOL Call

CALL "tibemsXAResource_Start"
     USING BY VALUE xaResource,
           BY REFERENCE xid,
           BY VALUE flags,
           RETURNING tibems-status
END-CALL.
Note: xaResource and xid have usage pointer.

Parameters

Parameter Description
xaResource Associate a transaction with this resource.
xid Associate this transaction with a resource.
flags TMNOFLAGS—This is a new transaction, which was not previously associated with the resource.

TMRESUME—This transaction was previously associated with the resource.