IOErr

From BR Wiki
Revision as of 23:16, 23 January 2013 by Laura (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.