You can use environment variables to control the runtime look and feel of your applications.
For example, set the default size of the 4gl screen window, manage applications in the MDI mode, or switch on/off the compatibility mode.
This chapter describes the environment variables used for these purposes.
Specifies how to expand DATE and DATETIME values which were abbreviated to one or two digits:
DBCENTURY=R (default)
Possible values and their meaning:
{R, C, F, P}
Specifies the printing device/software to be used in classic 4gl reports:
DBPRINT=printer_name
Possible values and their meaning:
<path to folder>
Specifies the default size of the 4gl screen window:
LINES=24 (default)
COLUMNS=80 (default)
Possible values and their meaning:
{any integer}
Allows running applications on the specified host with the extended LyciaWeb functionality.
Possible values and their meaning:
{your extension's id}
Specifies the character starting with which string is split in the Informix® compatibility mode:
QXBREAKCH_START="*=+-" (default)
Specifies the character after that string is split in the Informix® compatibility mode:
QXBREAKCH_END=":" (default)
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)
Possible values and their meaning:
{any integer}
Shows whether the application was run as a child application in the MDI mode or not.
Switches on the compatibility mode for 4gl applications at runtime:
QX_COMPAT=Informix4GL
Possible values and their meaning:
{Informix4GL, Lycia, GBDS}
Switches on the compatibility mode for 4gl applications at runtime:
QX_HEADLESS_MODE=1
Possible values and their meaning:
{any non-empty value}
Initializes all variables regardless of their data type.
QX_INITVAR=1
Possible values and their meaning:
1 as true
0 as false (default)
Enables setting QX_PASSWORD:
QX_INSECURE_PASSWORD_ALLOWED=false (default)
Possible values and their meaning:
{true, false}
Holds the user password used for authentication:
QX_PASSWORD={your password}
Possible values and their meaning:
{your password}
Switches on the MDI mode:
QX_MDI=1
Possible values and their meaning:
{any non-empty value}
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
Possible values and their meaning:
{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
Possible values and their meaning:
{any non-empty value}
Specifies what linker is used for creating object_cache on Windows OS:
QX_NATIVE_LINKER=MINGW
Possible values and their meaning:
{MSVC, MINGW, MINGW_MSVC}
Allows adding an extra prefix to qrun arguments:
QX_RUN_ARG_PREF=//
Possible values and their meaning:
{any string}
Enables the building of the debug cache:
QX_UNL=1
Possible values and their meaning:
{any non-empty value}
Holds the user name used for authentication:
QX_USER={your user name}
Possible values and their meaning:
{your user name}
QX_WEB_RETURN_VALUES={ARRAY, OBJECT, AS_IS}
Possible values and their meaning:
{ARRAY, OBJECT, AS_IS}
Enables calling 4gl functions directly from C static libraries:
QX_WRAPPER=1
Possible values and their meaning:
{any non-empty value}
Switches off the default activation for menu options in menus created by the MENU statement.:
QX_DYNAMIC_INTERACTION={1, 0}
Possible values and their meaning:
{1, 0}
Defines function name pattern to be called from web service.
WEB_FUNCTION_NAME_PATTERN="^function_pattern"
WEB_FUNCTION_NAME_PATTERN="" allows client application call any function.
Possible values and their meaning:
Value is a regular expression that defines the pattern for the function name.
If the variable is not set then the default value is "^web_"
.
Defines Idle lifetime for web service processes in seconds
QX_WS_TIMEOUT=120
Possible values and their meaning:
{any integer}