Re: Checking datatype of CHAR variable in 4GL
Posted in 1998
Alan Denney writes: > If the log contents matter that much to you, you can stop and start > error logging when you change WHENEVER from STOP to CONTINUE and vice-versa. What's the format of the 4GL statement to stop error logging when you change WHENEVER from STOP to CONTINUE ? I tested for an undocumented "STOPLOG()", but that wasn't found. I ended up adding multiple startlog() lines to the program, using the true logfile as the parameter when I have a "whenever any error call ... " directive active, and "/dev/null" as the logfile parameter when a "whenever any error continue" directive is active. Is that what is meant by stopping error logging? -- _____________________________________________________________________ | Colin McGrath cmm@trac3000.ueci.com | | Raytheon Engineers & Constructors, Inc. (215) 422-4144 | | Phila, PA, USA Standard Disclaimers Apply | |___________________________________________________________________|