vgVar system variable

The vgVar qualifier can precede the name of each EGL system variable listed in the following table. These variables are useful primarily in applications migrated from VisualAge® Generator.

Table 1. Variables in vgVar
System variable Description
currentFormattedGregorianDate Contains the current system date in long Gregorian format.
currentFormattedJulianDate Contains the current system date in long Julian format.
currentFormattedTime Contains the current system time in HH:mm:ss format.
currentGregorianDate Contains the current system date in eight-digit Gregorian format (yyyyMMdd).
currentJulianDate Contains the current system date in seven-digit Julian format (yyyyDDD). Avoid using this variable, which exists to support code migration from VisualAge Generator to EGL.
currentShortGregorianDate Contains the current system date in six-digit Gregorian format (yyMMdd). Avoid using this variable, which exists to support code migration from VisualAge Generator to EGL.
currentShortJulianDate Contains the current system date in five-digit Julian format (yyDDD). Avoid using this variable, which exists to support code migration from VisualAge Generator to EGL.
handleHardIOErrors Controls whether a program continues to run after a hard error occurs on an I/O operation in a try block.
handleOverflow Controls error processing after an arithmetic overflow.
handleSysLibraryErrors In V6 exception mode, affects whether a system function error causes the program to terminate.
sqlIsolationLevel Indicates the level of independence of one database transaction from another, and is meaningful only if you are generating Java™ output.
systemGregorianDateFormat Contains a character pattern available as an option when setting the dateFormat property.
systemJulianDateFormat Contains a character pattern available as an option when setting the dateFormat property.

Feedback