Another Question on Spools
Posted: Tue Mar 29, 2011 11:25 am
Using Eviews 6 with July 2010 build. I'm trying to append forecast output to a spool using objects and the program is giving me an error message:
{%A}EQ is not defined in "DO_RETAILNSPOOL.APPEND "{A}EQ.FORECAST(G) {%A}F"
I know that this procedure will work if I have the names of the objects defined, but for some reason the objects are not being recognized. It would make repeating this procedure for a variety of variables much easier.
Here's a short version of of my program
%a = "retailn"
%spool = %a+"spool"
spool {%spool}
smpl 1990:1 2010:4
equation {%a}eq.ls dlog(retailn) c dlog(accomf) ma(1)
{%spool}.append {%a}eq
smpl 2011:1 2017:4
{%spool}.append "{%a}eq.forecast(g) {%a}f"
Thanks
{%A}EQ is not defined in "DO_RETAILNSPOOL.APPEND "{A}EQ.FORECAST(G) {%A}F"
I know that this procedure will work if I have the names of the objects defined, but for some reason the objects are not being recognized. It would make repeating this procedure for a variety of variables much easier.
Here's a short version of of my program
%a = "retailn"
%spool = %a+"spool"
spool {%spool}
smpl 1990:1 2010:4
equation {%a}eq.ls dlog(retailn) c dlog(accomf) ma(1)
{%spool}.append {%a}eq
smpl 2011:1 2017:4
{%spool}.append "{%a}eq.forecast(g) {%a}f"
Thanks