# 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.

Note: `session` and `xaResource` have usage pointer.

## Parameters

Parameter | Description
--- | ---
`session` | Get the XA resource from this session.
`xaResource` | Store the resource.

Copyright © Cloud Software Group, Inc. All rights reserved.