Workfile structure

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

sylgin
Posts: 4
Joined: Wed Dec 01, 2010 6:11 am

Workfile structure

Postby sylgin » Tue Nov 29, 2011 8:16 am

Hello,
I have a programming question about redefine workfile structure.
I have a daily serie in a database and I would like to have this serie in a WF but only Thursday data all period long. I create a daily WF and after that I change his structure by choosing as Frequency : daily-custom week and as Days : 4-Thursday through 4-Thursday. I can do it by the menu but I didn’t find the syntax in programming.
Could everyone help me?
Thank you very much.
Sylgin

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

Re: Workfile structure

Postby EViews Gareth » Tue Nov 29, 2011 8:45 am

I believe it should be:

Code: Select all

pagestruct(freq=d(4,4), start=1990, end=2000)
or something like that, but it doesn't appear to be working. Until we fix it you might be out of luck. I'll see if we can get it fixed soon though.

sylgin
Posts: 4
Joined: Wed Dec 01, 2010 6:11 am

Re: Workfile structure

Postby sylgin » Wed Nov 30, 2011 6:03 am

Hello,
Thank you for your answer.
I tried this syntax yesterday and I confirm it doesn't work.
Could you tell me if it could be quickly fix?
Otherwise do you have another solution?
Thanks.
Sylgin

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

Re: Workfile structure

Postby EViews Gareth » Wed Nov 30, 2011 9:16 am

You could create a new page with the desired structure, and then copy data over to it.
I believe:

Code: Select all

create d(4,4) 1990 2000
will work for creating a new page.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests