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

Display error message and abort

Usually, your application is embedded in a MIDAS procedure  (see Chapter [*]). Besides your application, there may be more commands or applications in that procedure as well. In most cases it is no use continuing the procedure if any of its embedded applications have failed. In order to abort your application as well as all the procedures which are involved in the execution of this application, use the interface STETER (SCETER). This interface will display an error message and return to the highest level, i.e. the MIDAS user prompt.

Note
All following interface routines return an integer value as status. Values less than zero indicate a warning message, greater than zero an error and equal to zero is a successful return.



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