Datastream "logged out" everyday

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

blb22
Posts: 4
Joined: Wed Mar 29, 2017 6:40 am

Datastream "logged out" everyday

Postby blb22 » Thu Apr 11, 2019 1:18 am

Hi,

I have Eviews 10 and currently connect to the Datastream Online Database.

But every day when i open up Eviews it asks me to input my Datastream credentials again. Is there a way to save them somehow, because it prevents programmes from running automatically.

Thanks

Ben

EViews Jason
EViews Developer
Posts: 750
Joined: Tue Sep 16, 2008 3:50 pm

Re: Datastream "logged out" everyday

Postby EViews Jason » Thu Apr 11, 2019 8:31 am

Does your program start with opening the Datastream database via the 'dbopen' command?

If it does not, try adding it before any fetch calls and do the below as well.

If it does, as part of the options list you can add your credentials. http://www.eviews.com/help/helpintro.html#page/content/commandcmd-dbopen.html

For example,

Code: Select all

dbopen(t=datastream, username=myusername, password=mypassword)


If you wish not to include the credentials in the program, add Datastream to your database registry (Options->Database registry...) and at the beginning of your program add the dbopen call but unlike the above call use the database alias instead of the full specification.

Code: Select all

dbopen datastreamalias


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 4 guests