Hello
I am using the setmaxerrs to handle processing errors; however, there are cases when EViews naturally stops, for example, when a file I am instructing to open does not exist or when a file cannot be reshaped. In those cases, I would like to manage the error. For example, when EViews stops I would like to run another program file or a specific part of a program file. I would like to note that my code is quite long and it would be practically difficult to know where the error has taken place.
I hope I make sense. I appreciate that my inquiry is unusual and maybe there is no easy solution.
Thanks
George
Error handling
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Error handling
You can use @errorcount to check if an error has occured after a line, and then branch based on if it has or not.
Who is online
Users browsing this forum: No registered users and 2 guests
