Page 1 of 1
reading aremos tsd files
Posted: Sun May 03, 2009 2:07 pm
by salima
Could some one tell me how it is possible to read aremos files in eviews using the programming command. In previous versions there was specific commans as tsdload or tsdftech but think that there are out of date in the latest version because nothing appears on thses commands on the programming reference book.
It is than possible to write Wfopen(type=a) …. ou wfopen(type=tsd)…but is tehre any other options available.
please let me know if you have an answer as soon as possible
Re: reading aremos tsd files
Posted: Sun May 03, 2009 4:28 pm
by EViews Gareth
DBOPEN is the command you want.
Re: reading aremos tsd files
Posted: Thu Apr 21, 2011 7:03 am
by paues
I'm having some trouble here. Dbopen works fine when the tsd file is in some places but not in others.
dbopen(type=tsd) c:\temp\aremos\csvexp.tsd
yields an empty workfile, while
dbopen(type=tsd) K:\temp\aremos\csvexp.tsd
gives me the series that I want. The same goes for opening the files via File/Open/Database and choosing "Aremos TSD File". However, File/Open/Foreign Data as Workfile... works like a charm no matter where I place the tsd file. Is there a programming equivalent to "File/Open/Foreign Data as Workfile..."?
//F
Re: reading aremos tsd files
Posted: Thu Apr 21, 2011 9:42 am
by EViews Chris
I think the command you're looking for is
wfopen c:\temp\aremos\csvexp.tsd
If you just do 'open' (or 'dbopen') EViews will treat the tsd file as a database. 'wfopen' tells EViews to try to create a workfile from the TSD file (which is the same as 'Open Foreign Data As Workfile').
We normally treat TSD files as databases because they can contain a mix of frequencies (while an EViews workfile must have all series at a single frequency). When you use 'wfopen' on the TSD file it will force a frequency conversion of all series in the TSD file to the same frequency (if they aren't already), so it is potentially more 'destructive'.
Not sure why you're seeing problems with the different directories with dbopen. I haven't heard of a problem like that before. Are you sure that the files in the two locations contain exactly the same data? (A TSD file is actually just a text file, so you can open it for viewing with something like Windows Notepad).