I am writing a program that imports series (*) from .tsd files made in Aremos to EViews 7, creates manipulated series (*Mp) and exports the manipulated series back to .tsd format (to imported back to Aremos). But I get into trouble when the series names in the .tsd file are illegal according to EViews naming restrictions. So, I would like to know one of the following (or ideally both):
1. What are the restrictions to series names in EViews? (Knowing this I could deal with illegal names in Aremos before exporting to .tsd format.)
2. Is there any way to deal with series, i.e. named 123test, so that the manipulated series would still be called 123testMp when exported back to the .tsd file? (I suspect the answer could involve aliases, the fetch command and its notifyillegal option.)
Best,
Fredrik
Naming restrictions for series?
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Naming restrictions for series?
I'll let someone more knowledgeable in this area comment more fully, but in answer to your specific questions:
1) Legal names must be less than 24 characters, must start with either a letter or a "_", and can contain only letters, numbers, "_" and "$".
2. Not 100% certain I understand the question, but if you the copy command to copy to a tsd file, you can support mass renaming:
1) Legal names must be less than 24 characters, must start with either a letter or a "_", and can contain only letters, numbers, "_" and "$".
2. Not 100% certain I understand the question, but if you the copy command to copy to a tsd file, you can support mass renaming:
Code: Select all
copy u* mytsd:: u*mp
Re: Naming restrictions for series?
Thank you! The answer to (1) was precisely what I needed.
Please let me try to explain (2) more precisely:
A .tsd file contains a few series. They could be named anything but one hypothetical batch of series could e.g. be the two series 123test and 456test. My EViews program would
a. import these series from the .tsd file,
b. create new series with values depending on the values of the original series (e.g. square the value of each period) and then
c. export the created series to a new .tsd file.
However, it is important that the names of the series are not altered in any other way than that the suffix Mp is added to the series names. Thus, in the new .tsd file 123test would be saved as 123testMp and 456test as 456testMp.
Best,
Fredrik
Please let me try to explain (2) more precisely:
A .tsd file contains a few series. They could be named anything but one hypothetical batch of series could e.g. be the two series 123test and 456test. My EViews program would
a. import these series from the .tsd file,
b. create new series with values depending on the values of the original series (e.g. square the value of each period) and then
c. export the created series to a new .tsd file.
However, it is important that the names of the series are not altered in any other way than that the suffix Mp is added to the series names. Thus, in the new .tsd file 123test would be saved as 123testMp and 456test as 456testMp.
Best,
Fredrik
Who is online
Users browsing this forum: No registered users and 2 guests
