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

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

## Parameters

Parameter | Description
--- | ---
`xaSession` | Get the EMS session from this XA session.
`session` | Store the EMS session.

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