IOErr: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "The '''IOErr''' error condition may be specified at the end of a program statement, in the Exit statement, and with the ON error statement. ====Error Traps:==== IOERR tra...")
 
No edit summary
Line 1: Line 1:
The '''IOErr''' [[error condition]] may be specified at the end of a program statement, in the Exit statement, and with the ON error statement.
The '''IOErr''' [[Error Conditions|error condition]] may be specified at the end of a program statement, in the Exit statement, and with the ON error statement.


====Error Traps:====
====Error Traps:====

Revision as of 23:17, 23 January 2013

The IOErr error condition may be specified at the end of a program statement, in the Exit statement, and with the ON error statement.

Error Traps:

IOERR traps all errors that occur in I/O statements, including some errors, which are more specifically trapped by other error conditions. One exception to this rule is that IOERR does not trap PAGEOFLOW errors.

In a list of error conditions, IOErr should be placed after LOCKED, as IOERR traps the same errors that LOCKED trap, plus others. Similarly, IOErr should be listed before ERROR in a program statement, as ERROR will trap all the errors that IOErr traps. When error processing is handled at the ON Error statement level, however, Business Rules automatically invokes the error action which is most specific to the error which has occurred.