I realize there must be a simple answer to this, but I've been through the help and ref books and tried various options and can't seem to get the correct coding.
For Eviews 7, how do I program WFSAVE to save and overwrite a workfile without prompting me in the midst of the program if I want to overwrite? Similarly, how do I code WFCLOSE to close a workfile without saving when something has changed in the file since the last save without prompting me if I want to save before closing?
The issue is the program is being updated weekly and overwriting workfiles that are already there from the previous week. I've tried using "o" and "overwrite" and "noerr" or leaving the extension on or off the workfile or checking through the global options, where I have programs running in quiet and not to prompt on each save, but haven't found the answer.
For example:
Code: Select all
exec(c,q) C:\Model\example.prg
wfuse regressions
wfsave(2,o,noerr) C:\Models\regressions2
wfclose
wfuse models
wfclose