Date: Fri, 12 Jul 2002 10:05:12 -0400
Reply-To: Dianne Rhodes <RHODESD1@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dianne Rhodes <RHODESD1@WESTAT.COM>
Subject: Re: automated log-checking
Content-Type: text/plain; charset="iso-8859-1"
>One issue I hadn't really considered was how log-checking
>user-generated error messages.
Following a discussion of the use of
If cond then error ;
If cond then _error_ = 1;
Q, I think both statements are doing the same thing, that is setting the
_error_ to True or 1.
IMHO they should be treated the same as any other ERROR;
the author needs to evaluate them and decide if they are problems.
What about when _error_ is set back to 0?
_error_ = 0 ;
I have done that in a program where I had known bad data and did not want to
see the errors written to the log.
Dianne Louise Rhodes
Sr. Systems Analyst