*. Proc: CHECK-ERRCNT *. This proc *ABORTs if ERRCNT$ is set and it's a non-demand run. This *. is meant to be *COPY'd as the very last line of critical skeletons. *. *. By design, SSG does NOT perform ER ERR$ when it encounters certain *. syntax errors, even if in batch mode. This means that a job with a *. syntactically incorrect skeleton (for which SSG will not @ADD any *. generated ECL) can FIN normally. SSG does increment global variable *. ERRCNT$, however. Thus, *COPYing this at the end of important *. skeletons guarantees that syntactically incorrect skeletons do not *. FIN normally. *. *IF ERRCNT$ IS SET AND [INFO$,1,5,1] <> DEMAND *DISPLAY 'Fatal: ERRCNT$ has been set during skeleton processing' *ABORT *ENDIF