sysVar.handleHardIOErrors
The system variable sysVar.handleHardIOErrors controls whether a program continues to run after a hard error occurs on an I/O operation in a try block. The default value is 0. For background information, see Exception handling.
You can use sysVar.handleHardIOErrors in any of these ways:
- As the source or target of an assignment or move statement (also allowed in the "for count" of a move statement)
- As the variable in a logical expression used in a case, if, or while statement
- As the argument in a return or exit statement
The characteristics of sysVar.handleHardIOErrors are as follows:
- Primitive type
- NUM
- Data length
- 1
- Is value always restored after a converse?
- Yes
Example
sysVar.handleHardIOErrors = 1;
Related reference
Exception handling
Exception handling and status (system words)