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.