WFSAVE and WFCLOSE arguments

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

ttocont
Posts: 7
Joined: Mon Aug 26, 2013 7:42 am

WFSAVE and WFCLOSE arguments

Postby ttocont » Sat Jan 11, 2014 6:36 am

Hello,

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
Many thanks

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests