The qualifier VGVar can precede the name of each EGL system variable listed in the next table. These variables are useful primarily in applications migrated from VisualAge® Generator.
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 | Specifies whether the value of system variable SysVar.errorCode is affected by the invocation of a system function. |
mqConditionCode | Contains the completion code from an MQSeries® API call following an add or get next I/O operation for an MQ record. |
sqlerrd | Six-element array, where each element contains the corresponding SQL communication area (SQLCA) value that was returned from the last SQL I/O option. |
sqlerrmc | Contains the substitution variables for the error message associated with the return code in SysVar.sqlcode. |
sqlIsolationLevel | Indicates the level of independence of one database transaction from another. |
sqlWarn | Eleven-element array, where each element contains a warning byte returned in the SQL communications area (SQLCA) for the last SQL I/O operation and where the index is one greater that the warning number in the SQL SQLCA description. |
Related concepts
References to variables in EGL
Scoping rules and "this" in EGL
Related reference
System variables outside of EGL libraries