sysVar.handleSysLibErrors

The system variable sysVar.handleSysLibErrors specifies whether the value of system variable sysVar.errorCode is affected by the invocation of a system function. However, sysVar.handleSysLibErrors is available only when VisualAge Generator compatibility is in effect, as explained in Compatibility with VisualAge Generator.

For details and restrictions, see Exception handling.

You can use sysVar.handleSysLibErrors in these ways:

The characteristics of sysVar.handleSysLibErrors are as follows:

Primitive type

NUM

Data length

1

Is value always restored after a converse?

Only in a non-segmented text program; for details see Segmentation

Example

  sysVar.handleSysLibErrors = 1;

Related concepts
Compatibility with VisualAge Generator
Segmentation in text applications

Related reference
Exception handling
Exception handling and status (system words)
System words
sysVar.errorCode