System variables outside of EGL libraries

A variable contained in an EGL library is global to the run unit. Other system variables have different scoping characteristics and are categorized as follows:
ConverseVar
Variables that are useful primarily in textUI applications.
DliVar
Variables that contain information about the most recent DL/I database I/O. Those variables are made available if you specify the program property @DLI.
SysVar
Variables that are useful for general purposes.
VGVar
Variables that are useful primarily in applications migrated from VisualAge® Generator.

If you are referring to the system variable when you have another, same-named identifier in scope, you must include the category name as a qualifier. For example, you must specify ConverseVar.eventKey rather than eventKey if a second variable named eventKey is in scope. If a same-named identifier is not in scope, the qualifier is optional.

Related concepts
References to variables in EGL
Scoping rules and "this" in EGL

Related reference
@DLI
ConverseVar
DLIVar
SysVar
VGVar

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.