Aremos Eviews confusion

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

Aremos Eviews confusion

Postby paues » Thu Mar 08, 2012 9:07 am

I am trying to import two series from Macrobond and save them in an Aremos databank using the code below.

Code: Select all

Close @All DbOpen(type=macrobond) xx as mb WfCreate(wf=c:\temp\tmp.wf1) d7 1/1/2008 2/29/2012 Fetch(d=mb) jpbank0714 sebank0106 Close mb Shell If Exist c:\temp\test.bnk Del c:\temp\test.bnk DbCreate(type=aremos) c:\temp\test.bnk For %1 jpbank0714 sebank0106 Copy tmp::Untitled\{%1} ::test::{%1} Next WfSave tmp Close @All
This works just fine. When I open the databank in Eviews the series are as they should. However, when I open it in Aremos the series which should start|end at 1/10/2010|2/29/2012 and 1/7/2008|2/29/2012 respectively instead start|end at 11/17/1978|5/27/1980 and 6/10/1977|5/27/1980. Some help to discern what is wrong would be greatly appreciated. (I have attached both the workfile and the databank.)
Attachments
tmp.wf1
(45.09 KiB) Downloaded 382 times

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

Re: Aremos Eviews confusion

Postby paues » Thu Mar 08, 2012 9:10 am

I failed attaching the databank. Trying again with it renamed to test.txt (instead of test.bnk)...
Attachments
test.txt
Aremos databank
(15 KiB) Downloaded 411 times

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

Re: Aremos Eviews confusion

Postby EViews Gareth » Thu Mar 08, 2012 4:47 pm

Looks like this was a bug in EViews. We'll release a patch shortly that should fix it for you.

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

Re: Aremos Eviews confusion

Postby EViews Chris » Thu Mar 08, 2012 5:59 pm

Just to clarify: the problem we found was with the handling of the seven day daily frequency within Aremos databanks.

The five day ('business day') daily frequency and weird custom daily frequencies (eg. Monday to Wednesday only) should not have had any problems.

Update should now be available. Let us know if you're still seeing anything strange.

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

Re: Aremos Eviews confusion

Postby paues » Fri Mar 09, 2012 2:28 am

After installing the patch it works splendidly. Thank you for addressing the issue so swiftly!

On a side note, the command DbCreate seems to disregard the letter case specified for the file name, creating files with all lower-case letter irrespective of the case provided by the user. Is this something that could be fixed? Or am I just doing something wrong?

Code: Select all

DbCreate(type=aremos) C:\temp\TeMp.bNk


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests