question

Upvotes
Accepted
5 0 0 2

How to get the MEANING field of the Enumerated Types Dictionary

Hi,

We are using the EMA API in order to connect to Refinitiv feed. We want to get the information about the Enumerated Types Dictionary (domainType = EmaRdm.MMT_DICTIONARY, name = "RWFEnum"). In the documentation: https://github.com/Refinitiv/Real-Time-SDK/blob/master/Java/Ema/Docs/EMAJ_RDMUsageGuide.pdf (page 71), we see that we are supposed to get the following information: FIDS, VALUES, DISPLAY and MEANING. We saw that if we want a complete information, then we should use the filter EmaRdm.DICTIONARY_VERBOSE.

However, we always receive null values for the MEANING field. We saw that on page 72 (of the same document provided previously), it is written that "Providers do not need to provide [Meaning] (even when verbosity is VERBOSE)".

However, we would like to get this meaning fields, is there a way to get none null meaning?

Thanks in advance,
Marjorie Mercadier.

#technologyjavaelektron-data-dictionary
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @marjorie.mercadier ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

1 Answer

· Write an Answer
Upvote
Accepted
79.2k 251 52 74

@marjorie.mercadier

Thank you for reaching out to us.

As mentioned in the document, these features are optional in Provider applications including ADS.

1691564017433.png

You may need to contact the ADS support team directly via MyRefinitiv to confirm the behavior on ADS.

To get the meaning field, you can load the data dictionary from the local files instead.

        DataDictionary dataDictionary = EmaFactory.createDataDictionary();
        dataDictionary.loadFieldDictionary("RDMFieldDictionary");
        dataDictionary.loadEnumTypeDictionary("enumtype.def");
        
        System.out.println(dataDictionary.entry(4).enumType(5).meaning());

1691563986684.png



1691564017433.png (17.7 KiB)
1691563986684.png (56.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.