tibemsXAResource_isSameRM

Function

Purpose

Determine whether two resource objects originate from the same connection to an EMS server.

C Declaration

tibems_status tibemsXAResource_isSameRM(
    tibemsXAResource xaResource,
    tibemsXAResource xaResource2,
    tibems_bool* result );

COBOL Call

CALL "tibemsXAResource_isSameRM"
     USING BY VALUE xaResource,
           BY VALUE xaResource2,
           BY REFERENCE result,
           RETURNING tibems-status
END-CALL.
Note: xaResource and xaResource2 have usage pointer.

Parameters

Parameter Description
xaResource First XA resource.
xaResource2 Second XA resource.
result Store the result.