tibemsXAResource_GetTransactionTimeout

Function

Purpose

Get the timeout limit.

C Declaration

tibems_status tibemsXAResource_GetTransactionTimeout(
    tibemsXAResource xaResource,
    tibems_int* seconds );

COBOL Call

CALL "tibemsXAResource_GetTransactionTimeout"
     USING BY VALUE xaResource,
           BY REFERENCE seconds,
           RETURNING tibems-status
END-CALL.
Note: xaResource has usage pointer.

Parameters

Parameter Description
xaResource Get the transaction timeout of this resource.
seconds Store the transaction timeout (in seconds).

Remarks

If an open, unprepared transaction does not log any activity on the server for this length of time, then the server automatically rolls back the transaction.