next up previous 204
Next: ERR_START - Initialise the Error Reporting System
Up: Using EMS within ADAM system software
Previous: Routines specific to the ADAM fixed part


ERR_CLEAR - Return the error table to the default context and flush its contents

Description:
The Error Reporting System is returned to its default context level and any pending messages are flushed. This routine effectively resets the Error Reporting System:

  • unlike ERR_FLUSH, no `faulty application' error message is reported if it is called when there are no error messages pending output, or if it is called with the status value set to SAI__OK;

  • the error table is always annulled by a call to ERR_CLEAR, irrespective of any message output errors which may occur.


On exit, the status is always returned as SAI__OK.

Invocation:
CALL ERR_CLEAR( STATUS )

Arguments:

STATUS = INTEGER (Returned)
The global status.

Implementation Notes
This subroutine is for use only with the ADAM implementation of the Error Reporting System.


next up previous 204
Next: ERR_START - Initialise the Error Reporting System
Up: Using EMS within ADAM system software
Previous: Routines specific to the ADAM fixed part

EMS Error Message Service
Starlink System Note 4
P C T Rees
A J Chipperfield
28 September 2001
E-mail:ussc@star.rl.ac.uk

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