If an exception occurs, processing resumes at the first statement
in the
onException block (if any), or at the first
statement following the end of the
try statement.
A hard I/O error, however, is handled only in the following cases:
- If the system variable VGVar.handleHardIOErrors is
set to 1 and any hard I/O error occurs; or
- If the system variable DLIVar.handleHardDLIErrors is
set 1 and the hard I/O error occurs during access of a DL/I database or IMS™ message
queue.
Otherwise, the program displays a message (if possible) and ends.