next up previous 211
Next: ERR_END - End the current error reporting environment
Up: Subroutine Specifications
Previous: ERR_ANNUL - Annul the contents of the current error context


ERR_BEGIN - Create a new error reporting environment

Description:
Begin a new error reporting environment by marking a new error reporting context and then resetting the status argument to SAI__OK. If ERR_BEGIN is called with STATUS set to an error value, a check is made to determine if there are any messages pending output in the current context: if there are none, an error report to this effect is made on behalf of the calling application.

Invocation:
CALL ERR_BEGIN( STATUS )

Arguments:

STATUS = INTEGER (Given and Returned)
The global status.



next up previous 211
Next: ERR_END - End the current error reporting environment
Up: Subroutine Specifications
Previous: ERR_ANNUL - Annul the contents of the current error context

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