Fetching from FAME database without path reference

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

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

mhughes
Posts: 2
Joined: Fri Jun 30, 2017 1:33 pm

Fetching from FAME database without path reference

Postby mhughes » Thu Oct 12, 2017 2:01 pm

I am attempting to fetch from a FAME database object, in doing so, all variables are being renamed with the path of the database
example code:

dbopen "C:\path.....\database.db"

fetch namelist

the series in the namelist are named a1234 b3579 c6895 etc... Eviews fetches the series in the namelist as a group, which is what I want, but renames all the series to C:\path...\database::a1234, C:\path...\database::b3579, C:\path...\database::c6895. This behavior does not occur on co-workers computers when running the same code. How can I get just the series names?

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

Re: Fetching from FAME database without path reference

Postby EViews Jason » Thu Oct 12, 2017 2:58 pm

I am not sure on what you mean by it renames the series to c:\path\...\database::a1234. Where does the series appear as c:\path\..\database::a1234?

mhughes
Posts: 2
Joined: Fri Jun 30, 2017 1:33 pm

Re: Fetching from FAME database without path reference

Postby mhughes » Mon Oct 16, 2017 12:57 pm

it fetches namelist a group object, containing all the series. Within that group, the series are prepended with the path reference. Later I need to fetch the series as individual series objects, and also other series that have the same naming convention via a loop, (eg. for a series abc_123, i would need to get abc_123_weight and abc_123_tax_adjusted) the path suffix prevents this, as the fetch command is now looking for c:\path\...\database::abc_123_weight.

Is that clearer?

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

Re: Fetching from FAME database without path reference

Postby EViews Jason » Tue Oct 17, 2017 2:34 pm

Yes that does make sense. Can you send an example FAME database file containing the namelist object to support@eviews.com?


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 4 guests