This group includes environment variables which are specific for Lycia and its components.
variable |
description |
possible values and their meaning |
related articles |
specifies how to expand DATE and DATETIME values which were abbreviated to one or two digits:
DBCENTURY=R (default)
|
{R, C, F, P} |
||
specifies how dates are displayed on the client side:
DBDATE=MDY4/ (default)
|
D and M for day and month Y2 and Y4 for year and year precision - . /0 for separators |
||
specifies the symbol that separates loaded and unloaded files in the LOAD and UNLOAD statements:
DBDELIMITER=| (default)
|
any character except for {0-9, a-f, A-F, \} |
||
determines paths to search for the resource files:
DBPATH=C:\Users\Lycia\workspace\Lycia\test\output
DBPATH=/opt/Lycia/workspace/Lycia/test/output
There are no predefined search paths. The paths given above are mere examples. The current working directory is searched as well as the defined paths.
|
<path to folder> |
|
|
specifies the printing device/software to be used in classic 4gl reports:
DBPRINT=printer_name
|
{any string} |
||
defines the folder to store temporary files created by the runtime system:
DBTEMP=C:\Users\my_user\mytemp
DBTEMP=/usr/my_user/mytemp
|
<path to folder> |
||
specifies the paths to search for images, Lycia theme files, styles, and scripts used by front end functions:
FGLIMAGEPATH=%FGLIMAGEPATH%;.;C:\Program Files\Querix\Lycia 3 Development Suite 7.1\Lycia\images (default)
FGLIMAGEPATH=$FGLIMAGEPATH:.:/opt/Querix/Lycia/images (default)
|
<path to folder> |
||
specifies the paths to search for C extensions and 4gl libraries:
FGLLDPATH=%LYCIA_DIR%\my_4gl_libs;%LYCIA_DIR%\my_4gl_libs
FGLLDPATH=$LYCIA_DIR/my_4gl_libs;$LYCIA_DIR/my_4gl_libs
|
<path to folder> |
||
specifies the full path to the fglprofile.std file:
FGLPROFILE=%LYCIA_DIR%\etc\fglprofile.std
FGLPROFILE=$LYCIA_DIR/etc/fglprofile.std
|
<path to file> |
||
specify the default size of the 4gl screen window:
LINES=24 (default) COLUMNS=80 (default)
|
{any integer} |
|
|
specifies the full path to the listener.xml file:
LISTENERXML=C:\ProgramFiles\Querix\AppServer\listener.xml
LISTENERXML=/usr/local/AppServer/listener.xml
|
<path to file> |
||
specifies the default database driver that will be used at runtime:
LYCIA_DB_DRIVER=informix (default)
|
{informix, odbc, oracle} |
||
specifies the path to the Lycia installation directory:
LYCIA_DIR=C:\Program Files\Querix\Lycia 3 Development Suite 7.1\Lycia (default)
LYCIA_DIR=/opt/Querix/Lycia (default)
|
<path to folder> |
|
|
specifies the path to search for Lycia libraries:
LYCIA_DRIVER_PATH=%LYCIA_DIR%\lib (default)
LYCIA_DRIVER_PATH=$LYCIA_DIR/lib (default)
|
<path to folder> |
|
|
specifies the path to search for 4gl message files:
LYCIA_MSGPATH=%LYCIA_DIR%\msg (default)
LYCIA_MSGPATH=$LYCIA_DIR/msg (default)
|
<path to folder> |
HELP clause for CONSTRUCT |
|
specifies how many last log messages are written to the application log file when an application crashes:
LYCIA_POST_MORTEM_LENGTH=5
|
{any integer} |
Logging configurations |
|
specifies the logging level for the application log file:
LYCIA_SEVERITY=error (default)
|
{error, warn, info, trace} |
Logging configurations |
|
specifies the location of the file containing system action defaults:
LYCIA_SYSTEM_ACTION_DEFAULTS=%LYCIA_DIR%\etc\ SystemActionDefaults.fm2 (default)
LYCIA_SYSTEM_ACTION_DEFAULTS=$LYCIA_DIR/etc/ SystemActionDefaults.fm2 (default)
|
<path to file> |
||
specifies the location of the system resources file:
LYCIA_SYSTEM_RESOURCES=%LYCIA_DIR%\etc\SystemResources.tr2 (default)
LYCIA_SYSTEM_RESOURCES=$LYCIA_DIR/etc/SystemResources.tr2 (default)
|
<path to file> |
||
specifies the location of the system css file:
LYCIA_SYSTEM_THEME_CSS=%LYCIA_DIR%\etc\SystemTheme.css (default)
LYCIA_SYSTEM_THEME_CSS=$LYCIA_DIR/etc/SystemTheme.css (default)
|
<path to file> |
||
specifies the location of the system theme file:
LYCIA_SYSTEM_THEME_QX=%LYCIA_DIR%\etc\SystemTheme.qxtheme (default)
LYCIA_SYSTEM_THEME_QX=$LYCIA_DIR/etc/SystemTheme.qxtheme (default)
|
<path to file> |
||
specifies the character after that string is split in the Informix® compatibility mode:
QXBREAKCH_END=":" (default)
|
|
||
specifies the character starting with which string is split in the Informix® compatibility mode:
QXBREAKCH_START="*=+-" (default)
|
|
||
returns debugging results to the application log file:
QXDEBUG=UuBbSsEedPptLlCcmGOzAzKzQv (full value)
|
{set of characters} |
Logging configurations |
|
specifies the maximum number of spaces any string can have (in a row) not to be split in the Informix® compatibility mode:
QXREP_SPACES=1 (default)
|
{any integer} |
||
shows whether the application was run as a child application in the MDI mode or not
|
|
||
holds the hostname of the client device that currently is in the interaction session with the application
|
{hostname of the client device} |
|
|
holds the IP address of the client device that currently is in the interaction session with the application
|
{IP address of the client device} |
|
|
switches on the compatibility mode for 4gl applications at runtime:
QX_COMPAT=Informix4GL
|
{Informix4GL, Lycia, GBDS} |
||
switches on the compatibility mode for 4gl applications at runtime:
QX_HEADLESS_MODE=1
|
{any non-empty value} |
||
enables setting QX_PASSWORD:
QX_INSECURE_PASSWORD_ALLOWED=false (default)
|
{true, false} |
|
|
specifies which and how database errors are written to the application log file:
QX_LOGNATIVESQLERRORS=2
|
{1, 2, 3, 4, 5, 6, 7} |
||
adds an new item to the top menu - Window - that shows all the child applications currently running in the MDI mode:
QX_MENU_WINDOW=1
|
{any non-empty value} |
||
adds an new item to the Window menu group - New application - that opens a LyciaDesktop connection dialog to launch other applications in the MDI mode:
QX_MENU_WINDOW_NEW_CHILD=1
|
{any non-empty value} |
||
switches on the MDI mode:
QX_MDI=1
|
{any non-empty value} |
||
|
specifies what linker is used for creating object cache on :
QX_NATIVE_LINKER=MINGW
|
{MSVC, MINGW, MINGW_MSVC} |
|
specifies the level of general bitcode optimization:
QX_OPT_LEVEL=2
|
{0, 1, 2, 3} |
|
|
holds the user password used for authentication:
QX_PASSWORD={your password}
|
{your password} |
|
|
enables creating qrun crash dumps:
QX_QRUN_DUMP=1
|
{any non-empty value} |
||
holds the hostname of the server that currently is in the interaction session with the application
|
{hostname of the server} |
|
|
holds the IP address of the server that currently is in the interaction session with the application
|
{IP address of the server} |
|
|
holds the identifier on the current interaction session
|
{session ID} |
|
|
enables the logging of function calls:
QX_TRACE=1
|
{any non-empty value} |
|
|
enables the logging of both function calls and their arguments:
QX_TRACE_ARG_DUMP=1
|
{any non-empty value} |
|
|
enables the building of UNL cache:
QX_UNL=1
|
{any non-empty value} |
|
|
holds the user name used for authentication:
QX_USER={your user name}
|
{your user name} |
|
|
enables verbose output of results for building the object cache:
QX_VERBOSE_CACHE=1
|
{any non-empty value} |
||
enables calling 4gl functions directly from C static libraries:
QX_WRAPPER=1
|
{any non-empty value} |
|
Setting values for general environment variables for , you can use both Windows and Unix syntax - %VARIABLE% and $VARIABLE.
All the environment variable marked with this sign - - are determined automatically and are used for retrieving information but not for configuring Lycia.