ERR_STAT

Inquire the last reported error status

Description:

The current error context is checked for any error messages reported since the context was created or last annulled. If none exist, STATUS is returned set to SAI__OK. If there are any such messages, STATUS is returned set to the status value associated with the last reported error message.

Invocation

CALL ERR_STAT( STATUS )

Arguments

STATUS = INTEGER (Returned)
The last reported error status within the current error context; if none exist, STATUS is returned set to SAI__OK.