Page 1 of 1

Workfile structure

Posted: Tue Nov 29, 2011 8:16 am
by sylgin
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

Re: Workfile structure

Posted: Tue Nov 29, 2011 8:45 am
by EViews Gareth
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.

Re: Workfile structure

Posted: Wed Nov 30, 2011 6:03 am
by sylgin
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

Re: Workfile structure

Posted: Wed Nov 30, 2011 9:16 am
by EViews Gareth
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.