Environment variables influencing runtime appearance and behavior

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.

DBCENTURY

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}

DBPRINT

Specifies the printing device/software to be used in classic 4gl reports:

DBPRINT=printer_name

Possible values and their meaning:

<path to folder>

LINES and COLUMNS

Specifies the default size of the 4gl screen window:

LINES=24 (default)

COLUMNS=80 (default)

Possible values and their meaning:

{any integer}

QXLW_CHROME_EXTENSION_ID

Allows running applications on the specified host with the extended LyciaWeb functionality.

Possible values and their meaning:

{your extension's id}

QXBREAKCH_START

Specifies the character starting with which string is split in the Informix® compatibility mode:

QXBREAKCH_START="*=+-" (default)

QXBREAKCH_END

Specifies the character after that string is split in the Informix® compatibility mode:

QXBREAKCH_END=":" (default)

QXREP_SPACES

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}

QX_CHILD

Shows whether the application was run as a child application in the MDI mode or not.

QX_COMPAT

Switches on the compatibility mode for 4gl applications at runtime:

QX_COMPAT=Informix4GL

Possible values and their meaning:

{Informix4GL, Lycia, GBDS}

QX_HEADLESS_MODE

Switches on the compatibility mode for 4gl applications at runtime:

QX_HEADLESS_MODE=1

Possible values and their meaning:

{any non-empty value}

QX_INITVAR

Initializes all variables regardless of their data type.

QX_INITVAR=1

Possible values and their meaning:

1 as true

0 as false (default)

QX_INSECURE_PASSWORD_ALLOWED

Enables setting QX_PASSWORD:

QX_INSECURE_PASSWORD_ALLOWED=false (default)

Possible values and their meaning:

{true, false}

QX_PASSWORD

Holds the user password used for authentication:

QX_PASSWORD={your password}

Possible values and their meaning:

{your password}

QX_MDI

Switches on the MDI mode:

QX_MDI=1

Possible values and their meaning:

{any non-empty value}

QX_MENU_WINDOW

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}

QX_MENU_WINDOW_NEW_CHILD

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}

QX_NATIVE_LINKER

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}

QX_RUN_ARG_PREF

Allows adding an extra prefix to qrun arguments:

QX_RUN_ARG_PREF=//

Possible values and their meaning:

{any string}

QX_UNL

Enables the building of the debug cache:

QX_UNL=1

Possible values and their meaning:

{any non-empty value}

QX_USER

Holds the user name used for authentication:

QX_USER={your user name}

Possible values and their meaning:

{your user name}

QX_WEB_RETURN_VALUES

QX_WEB_RETURN_VALUES={ARRAY, OBJECT, AS_IS}

Possible values and their meaning:

{ARRAY, OBJECT, AS_IS}

QX_WRAPPER

Enables calling 4gl functions directly from C static libraries:

QX_WRAPPER=1

Possible values and their meaning:

{any non-empty value}

QX_DYNAMIC_INTERACTION

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}

WEB_FUNCTION_NAME_PATTERN

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_".

QX_WS_TIMEOUT

Defines Idle lifetime for web service processes in seconds

QX_WS_TIMEOUT=120

Possible values and their meaning:

{any integer}

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.