Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
avatar image
Question by NWM · Feb 28, 2019 at 09:43 PM · rfa c++OMMmrn_storyrfa configrfa config environment variable

RFA configuration for MRN_STORY

Hello Dev Team,

We are using RFA C++ 8.x (OMM) Linux API to retrieve real news (MRN_STORY).

Below is the configuration in our RFA.cfg file

\Connections\Connection_RSSL\connectionType = "RSSL"

\Connections\Connection_RSSL\rsslPort = "14002"

\Connections\Connection_RSSL\hostName = "new_adsA"

And below is the output of RFA log:

===============================

streamState : Open
dataState : Ok
statusCode : None
statusText : Login accepted by host s6xxxx..
serviceName : IDN_SELECTFEED
symbolName : MRN_STORY
streamState : Closed
dataState : Suspect
statusCode : NotFound
statusText : *The record could not be found.

===================================

To retrive MRN_STORY are additional parameters required in the RFA configuration file? Please advise.

Thank you.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

6 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Mar 01, 2019 at 12:23 AM

The developer should implement this in the application. There is no RFA configuration for the domain name. The domain name could be specified as application configurations.

For example, the StarterConsumer example in the RFA package has two configuration files.

  • ExampleRFA.cfg which contains RFA configurations for a connection such as hostName and rsslPort
  • StarterConsumer.cfg which contains application configurations for a service name, and item name

The StarterConsumer example uses the RFA configuration database class to load StarterConsumer.cfg.

On the other hand, the example in the tutorial 11 reads application configurations from the command-line parameters.

Therefore, you can develop an application that loads the domain name configuration from the local file (StarterConsumer.cfg) like the StarterConsumer example by defining a new application configuration for the domain name type.

For more information, please refer to the StarterConsumer code in the StarterConsumer:Init(...) function.

            //Load the application configuration data
            if (!InitConfig(fileConfig)) return false;
            ReadConfig(appCfgDataBase.ConfigTree);
            LogConfig();
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by jirapongse.phuriphanvichai · Feb 28, 2019 at 09:55 PM

@NWM

It could be a domain type. The domain for MRN_STORY is the News Text Analytics domain, not the Market Price domain. Please refer to Tutorial 11 - Request and Decode Machine Readable News for more information.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by NWM · Feb 28, 2019 at 10:04 PM

Hello Jirapongse,

Thank you for the reply.

I checked the tutorial and downloaded the source code.

The MRN example is under "step 11" directory. And the "exampleRFA" here does not contain reference to NTA domain.

In which file should the NTA domain be specified?

Thank you.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by jirapongse.phuriphanvichai · Feb 28, 2019 at 10:15 PM

In the Build and Run section of the tutorial, the domain is specified in the command-line parameters.

Command-line parameters:
-u <userName>      : Permissioned user name (Mandatory)
-app <appId>       : Permissioned application Id (Optional default = 256)
-pos <position>    : Permissioned position (Optional, default=127.0.0.1/net)
-m <rdmModel>      : name of the RDM model to request (Mandatory)
-s <serviceName>   : Service name to subscribe from (Mandatory)
-i <itemName>      : symbol to request (Mandatory)
-fd <rdmFieldDict> : Full path and filename of the RDM Field Dictionary
-ed <enumDict>     : Full path and filename of the Enum Tables Dictionary

For News use "nta" for the "-m" parameter
Valid values for "-i" include MRN_TRNA, MRN_TRSI and MRN_STORY

Examples:
rdmexample -u j.smith -m nta -s EMEA_SAND_ERT_EDGE -i MRN_STORY
rdmexample -u j.smith -m nta -s EMEA_SAND_ERT_EDGE -i MRN_TRSI -fd "./RDMFieldDictionary" -ed "./enumtype.def"
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by NWM · Feb 28, 2019 at 11:41 PM

Hello Jirapongse,

Thanks very much for the example.

However, for a RFA C++ application that reads connection parameters from RFA configuration file, is there a way to specify the domain name in RFA configuration file or some other file? If so, what is the format of the parameter?

Thanks.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by NWM · Mar 07, 2019 at 11:30 PM

Hello Jirapongse,

Thank you for the information to resolve this matter. The application was using the default MarketPrice domain, after we changed to NTA, MRN news was able to retrieve.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
6 People are following this question.

Related Questions

Where to download the enumtype.def file

What is RDMFieldDictionary_large?

MarketFeed message reference manual

NIP Publishing with two ADH servers using Elektron Java SDK

prevent tick loss​

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges