Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsConnectionMetaData_GetEMS
> Function
> Purpose
> Get information about the JMS specification supported by EMS.
> C Declaration
> tibems_status tibemsConnectionMetaData_GetEMSMajorVersion(
> tibemsConnectionMetaData metaData,
> tibems_int* majorVersion);
> tibems_status tibemsConnectionMetaData_GetEMSMinorVersion(
> tibemsConnectionMetaData metaData,
> tibems_int* minorVersion);
> tibems_status tibemsConnectionMetaData_GetEMSVersion(
> tibemsConnectionMetaData metaData,
> const char** version);
> COBOL Call
> CALL "tibemsConnectionMetaData_GetEMSMajorVersion"
> USING BY VALUE metadata
> BY REFERENCE majorVersion
> RETURNING tibems_status
> END-CALL.
> CALL "tibemsConnectionMetaData_GetEMSMinorVersion"
> USING BY VALUE metadata
> BY REFERENCE minorVersion
> RETURNING tibems_status
> END-CALL.
> CALL "tibemsConnectionMetaData_GetEMSVersion"
> USING BY VALUE metadata
> BY REFERENCE version
> RETURNING tibems_status
> END-CALL.

> | metadata has usage pointer.

> Parameters

> Parameter | Description
> metaData | The tibemsConnectionMetaData object from which the version number will be extracted.
> majorVersion | tibemsConnectionMetaData_GetEMSMajorVers ion uses this location to store the major version number of the JMS specification supported by the EMS application.
> minorVersion | tibemsConnectionMetaData_GetEMSMinorVers ion uses this location to store the minor version number of the JMS specification supported by the EMS application.
> version | tibemsConnectionMetaData_GetEMSVersion uses this location to store the version number of the JMS specification supported by the EMS application.

> Remarks
> EMS applications can retrieve the metaData object from any connection; see tibemsConnection_GetMetaData on page 212.

Copyright © TIBCO Software Inc. All Rights Reserved