Series Names that Contain Symboles

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Series Names that Contain Symboles

Postby w_nawfal » Tue Feb 22, 2011 6:53 am

Hello All

I'm fetching from a database that contains series whose names contain symbols (such as the @ sign) - eviews does not seem to be able to work well with such series.

unfortunately, i don't thing any of the copy commands will work (such ad dbcopy etc.) because the database is not located on a local machine and thus i cannot obtain the correct path to the series i need (i figured if i can do this i can just copy it into my work file under an acceptable name.)

thank you in advance for any help on this issue.

Wes

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: Series Names that Contain Symboles

Postby EViews Gareth » Tue Feb 22, 2011 9:29 am

What format is the database?

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Re: Series Names that Contain Symboles

Postby w_nawfal » Wed Feb 23, 2011 5:43 am

not sure Gareth - it's called Datastream, maybe you're familar with it?

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

Re: Series Names that Contain Symboles

Postby EViews Jason » Wed Feb 23, 2011 11:01 am

You can either add the Datastream database to the your database registry or open the database using an alias

Code: Select all

'use type=datastream if using Dataworks server otherwise use type=datastreamxml if using Datafeeds server dbopen(type=datastream,u=myusername,p=mypassword) myDBAlias 'or if the database is already in the database registry dbopen myDBAlias 'fetch/copy a series to myworkfile copy myDBAlias::@:R5FTSP myEViewsSeries

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Re: Series Names that Contain Symboles

Postby w_nawfal » Wed Feb 23, 2011 2:51 pm

Hello Jason

the Datastream database is already added to my registery (username & password are saved as well) and i am able to fetch many series from it without any problems.

I've just discovered that the problem lies within the database itself (some series are not encoded properly), and as such not an issue of Eviews per se.

thank you for your reply

Wes


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests