Page 1 of 1
Pausing a program
Posted: Thu Jan 12, 2012 7:40 am
by acraigpgpf
Hi all,
I am working with a model with 75 exogenous variables that are pulled from a database that my firm maintains. I would like to add in a quality assurance step where all of the exogenous variables are visually inspected to rule out weird data processing errors. I have a loop that produces line graphs of all of the variables:
%exogenous = @wlookup("*_cbo", "series")
for %2 {%exogenous}
smpl 2010 2085
line {%2}
next
Is there a way to pause the program execution after the production of each graph? Should I be using a spool instead?
Thanks!
Re: Pausing a program
Posted: Thu Jan 12, 2012 7:54 am
by acraigpgpf
Also, an addendum. My model identifies exogenous variables with the suffix "_cbo." I have noticed that my model divides variables into endogenous and exogenous. Is there an object type for exogenous variables that I can use in the @wlookup function instead of "series"?
Re: Pausing a program
Posted: Thu Jan 12, 2012 8:38 am
by EViews Gareth
There is a sleep command, that will pause a running program, however it puts EViews to sleep, so the user cannot interact with it. There is no way to provide an interactive pause.
Since whether a series is exogenous or not is based upon the definition of the model object, and not based on the workfile (a series could be exogenous in one model, and endogenous in another!), you cannot use @wflookup to determine whether a series is exogenous or not.
However the model object does have a makegroup proc that lets you make a group containing all of the exogenous or all of the endogenous variables.
Re: Pausing a program
Posted: Thu Jan 12, 2012 8:42 am
by acraigpgpf
So the best way to run this sort of a QA step is with a spool object?
Re: Pausing a program
Posted: Thu Jan 12, 2012 8:53 am
by EViews Gareth
Putting it into a spool isn't going to let you inspect each graph whilst the program is running, either.
Re: Pausing a program
Posted: Thu Jan 12, 2012 9:27 am
by acraigpgpf
But at least with the spool I wan't have a cascade of tiles.
Re: Pausing a program
Posted: Thu Jan 12, 2012 9:30 am
by EViews Gareth
You could make individual graph objects to achieve that goal too, but yeah, using a spool will stop the cascade.
Re: Pausing a program
Posted: Wed Aug 31, 2016 6:19 am
by Kavorka
This is a somewhat different question than the previous ones, but I put it here anyway.
If I run a Monte Carlo simulation program that takes me e.g. 10 hours, and I would like to temporarily pause the simulation anywhere in the middle (since maybe I need the computer for something else that requires processor power), and then later I want to resume the same simulation for remaining hours. Is that possible? (I do not want to push escape and start from the beginning if that is possible, I want to resume after the break). /P
Re: Pausing a program
Posted: Wed Aug 31, 2016 8:13 am
by EViews Gareth
No.