next up previous 211
Next: Using MSG and ERR within ADAM
Up: Deprecated Routine ERR_OUT
Previous: Deprecated Routine ERR_OUT


ERR_OUT - Report a message then flush and annul the current error context.

Description:
The message is reported using ERR_REP and then the current error context is flushed and annulled using ERR_FLUSH. On successful completion, STATUS is reset to SAI__OK.

If STATUS is set to SAI__OK on entry, a warning message will be 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_OUT( PARAM, TEXT, STATUS )

Arguments:

PARAM = CHARACTER * ( * ) (Given)
The error message name.
TEXT = CHARACTER * ( * ) (Given)
The error message text.
STATUS = INTEGER (Given and Returned)
The global status. STATUS should not be SAI__OK on entry; it is reset to SAI__OK on exit unless an output error occurs in which case it will be set to ERR_OPTER.



next up previous 211
Next: Using MSG and ERR within ADAM
Up: Deprecated Routine ERR_OUT
Previous: Deprecated Routine ERR_OUT

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