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
Another Question on Spools
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Another Question on Spools
You can't have replacement variables inside quotes. Try something along the lines of:
Code: Select all
%temp = %a + "eq.forecast(g) " + %a + "f"
{%spool}.append %temp
Re: Another Question on Spools
It Worked! Thanks.
Who is online
Users browsing this forum: No registered users and 2 guests
