Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsXASession
> Type
> Purpose
> A session with an XA resource.

> Function | Description | Page
> tibemsXASession_Close | Close an XA session. | 370
> tibemsXASession_GetSession | Get the EMS session from an XA session. | 371
> tibemsXASession_GetXAResource | Get the XA resource of an XA session. | 372

> | XA sessions do not support routed queues.

> See Also
> tibemsSession on page 286
> tibemsXASession_Close
> Function
> Purpose
> Close an XA session.
> C Declaration
> tibems_status tibemsXASession_Close(
> tibemsSession session );
> COBOL Call
> CALL "tibemsXASession_Close"
> USING BY VALUE session,
> RETURNING tibems-status
> END-CALL.

> | session has usage pointer.

> Parameters

> Parameter | Description
> session | Close this session.

> tibemsXASession_GetSession
> Function
> Purpose
> Get the EMS session from an XA session.
> C Declaration
> tibems_status tibemsXASession_GetSession(
> tibemsSession xaSession,
> tibemsSession* session );
> COBOL Call
> CALL "tibemsXASession_GetSession"
> USING BY VALUE xaSession,
> BY REFERENCE session,
> RETURNING tibems-status
> END-CALL.

> | xaSession and session have usage pointer.

> Parameters

> Parameter | Description
> xaSession | Get the EMS session from this XA session.
> session | The function stores the EMS session in this location.

> tibemsXASession_GetXAResource
> Function
> Purpose
> Get the XA resource of an XA session.
> C Declaration
> tibems_status tibemsXASession_GetXAResource(
> tibemsSession session,
> tibemsXAResource* xaResource );
> COBOL Call
> CALL "tibemsXASession_GetXAResource"
> USING BY VALUE session,
> BY REFERENCE xaResource,
> RETURNING tibems-status
> END-CALL.

> | session and xaResource have usage pointer.

> Parameters

> Parameter | Description
> session | Get the XA resource from this session.
> xaResource | The function stores the resource in this location.

Copyright © TIBCO Software Inc. All Rights Reserved