handleSysLibraryErrors

The system variable VGVar.handleSysLibraryErrors specifies whether the value of system variable SysVar.errorCode is affected by the invocation of a system function. However, VGVar.handleSysLibraryErrors 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 VGVar.handleSysLibraryErrors in these ways:

The characteristics of VGVar.handleSysLibraryErrors 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

  VGVar.handleSysLibraryErrors = 1;
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.