The subroutine used to report errors is
EMS_REP. It has a calling sequence analogous to that of
PARAM is the error message name,
TEXT is the error message text and
STATUS is the
inherited status. The
STATUS arguments are the same as those used in calls to
are discussed fully in SUN/104.
On exit from
EMS_REP the status argument remains unchanged, with two exceptions:
STATUSset to SAI__OK on entry,
STATUSis returned set to EMS__BADOK.
STATUSis returned set to EMS__OPTER.
Appendix E lists the symbolic constants for all the possible EMS errors.
The deferral of error reporting can be controlled within EMS:
mark and release error reporting contexts;
EMS_ANNUL annuls all error reports pending output in a
given error context;
EMS_END respectively begin and end error reporting environments.
The behaviour of these subroutines is analogous to
ERR_END provided by the Error Reporting System (see SUN/104). EMS does not provide an analogue