Exporting Series with Illegal Names?

For questions regarding programming in the EViews programming language.

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

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Exporting Series with Illegal Names?

Postby paues » Thu Apr 21, 2011 1:18 am

Is there a way to export .tsd files containing series with names that do not conform with EViews naming restrictions (e.g. "illegal names")?

I am trying to export series from Aremos to EViews and then back again to Aremos. And Aremos allows many more characters in series names (e.g. @, £ and %).

Best,
Fredrik

EViews Chris
EViews Developer
Posts: 161
Joined: Wed Sep 17, 2008 10:39 am

Re: Exporting Series with Illegal Names?

Postby EViews Chris » Thu Apr 21, 2011 9:53 am

I assume you're accessing the TSD file as a database (eg. using the 'dbopen' command), and that you're currently using the 'store' command to export the series?

If you need to rename during a store operation, you need to use the 'copy' command. eg.

dbopen mydb
copy x__ mydb::x@%%

You could also store the series with the EViews name, then do a rename after you've written the series to the database
dbopen mydb
store x
rename mydb::x x@%%

Hope that helps.

Chris


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests