WebFOCUS‎ > ‎

Detecting WebFOCUS Errors

The dialog manager variable FOCERRNUM contains the error code of a WebFOCUS error, and can be checked for a value of zero to detect the presence of an error.

Here is a code snipet:

-IF &FOCERRNUM NE 0 GOTO :FOCUS_ERROR;
-INCLUDE inc02-log_schedule_dates.fex
END
-:FOCUS_ERROR
-* Depending on the error, the msg below may not make it to the log, but we'll try...
-TYPE Report ERROR: No report produced. Report log table not updated.
END
Comments