next up previous 204
Next: EMS_RLSE - Release (end) an error context
Up: Fortran Subroutine Specifications
Previous: EMS_RENEW - Renew any annulled message tokens in the current context


EMS_REP - Report an error message

Description:
Report an error message. According to the error context, the error message is either sent to the user or retained in the error table. The latter case allows the application to take further action before deciding if the user should receive the message. The values associated with any existing message tokens are left undefined. On successful completion, the global status is returned unchanged; if the status argument is set to SAI__OK on entry, an error report to this effect is made on behalf of the application and the status argument is returned set to EMS__BADOK; if an output error occurs, the status argument is returned set to EMS__OPTER.

Invocation:
CALL EMS_REP( 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: this is left unchanged on successful completion, and is returned set to an EMS__ error if an internal error occurs.



next up previous 204
Next: EMS_RLSE - Release (end) an error context
Up: Fortran Subroutine Specifications
Previous: EMS_RENEW - Renew any annulled message tokens in the current context

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