Rename all series

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

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

jthodge
Posts: 77
Joined: Tue Oct 21, 2008 5:52 am

Rename all series

Postby jthodge » Tue Oct 08, 2013 12:47 pm

Do you have any suggestions for an efficient way to rename all series in a workfile?

The wildcard method does not seem to work very well. For example, if I want to add the suffix "_history" to all series:

Code: Select all

rename * *_history
This does rename the series, but it also returns an error saying "C, RESID cannot be renamed or deleted in RENAME * *_HISTORY", which causes my program to stop.

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

Re: Rename all series

Postby EViews Gareth » Tue Oct 08, 2013 1:04 pm

Set maximum errors to three :)

jthodge
Posts: 77
Joined: Tue Oct 21, 2008 5:52 am

Re: Rename all series

Postby jthodge » Tue Oct 08, 2013 1:23 pm

Thanks. That seems to work. I'll deactivate the logmode also so the error doesn't appear there.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests