next up previous 211
Next: ERR_LEVEL - Inquire the current error context level
Up: Subroutine Specifications
Previous: ERR_FLBEL - Deliver an ASCII BEL and flush the current error context


ERR_FLUSH - Flush the current error context

Description:
Ensure that all pending error messages in the current error context have been output to the user. On successful completion, the error context is annulled and STATUS reset to SAI__OK

If no error messages have been reported in the current error context, a warning message is generated but no error results.

If an error occurs during output of the error messages, the error context is not annulled and STATUS is returned set to ERR__OPTER.


Invocation:
CALL ERR_FLUSH( STATUS )

Arguments:

STATUS = INTEGER (Returned)
The global status: it is set to SAI__OK on return if the error message output is successful; if not, it is set to ERR__OPTER.



next up previous 211
Next: ERR_LEVEL - Inquire the current error context level
Up: Subroutine Specifications
Previous: ERR_FLBEL - Deliver an ASCII BEL and flush the current error context

MERS (MSG and ERR) Message and Error Reporting Systems
Starlink User Note 104
P C T Rees
A J Chipperfield
22 October 2001
E-mail:ussc@star.rl.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils