next up previous contents index
Next: Signal an error from Up: Error Processing Previous: Error Processing

  
Control exception and error handling

As a default any application is aborted if an error occurs in any of the ST or TB interfaces. Thus, the application program is free from numerous statements like:
IF (ISTAT.NE.IOK) THEN ...
which so often clutter the code of an application.

However, there are occasions where the application needs to examine any possible error and decide on the further flow of control. This is achieved via a call to STECNT (SCECNT). This error control  routine lets you decide about continuing after an error, logging in the MIDAS logfile, and displaying of an error message.



Send comments to web@eso.org
Last update: 1998-10-23