Page 1 of 1

Datastream "logged out" everyday

Posted: Thu Apr 11, 2019 1:18 am
by blb22
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

Re: Datastream "logged out" everyday

Posted: Thu Apr 11, 2019 8:31 am
by EViews Jason
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