FAQ FAQ
Products
I have a problem with
 
 

Set the DBPATH Environment Variable

Web Content Image
The DBPATH environment variable is used for 2 purposes. * For users of Informix SE, this specifies the paths to search for the physical database files * The paths to search for form files when using an OPEN FORM or OPEN WINDOW ... WITH FORM statement

Connect to a database fails (error -994)

Web Content Image
Error -994 Error opening DB driver: /./lib/moddboracle.so

Runtime error -1319

Web Content Image
If Hydra of 4.1-4.3 versions returns the '-1319 runtime error', please try to compile the project with '-S 1024' option and start it again. For example: fglc -S 1024.

How to activate licenses in Windows/Unix/Linux using Hydra

Web Content Image
This article explains how you can activate a license

I Cannot Download Querix Tools

Web Content Image
If you are not able to download our Querix tools, please contact support@querix.com with the following details, and we will send you a CD-ROM with the tools on it.

I'm getting error opening driver

Web Content Image
I get an error message in log file running a test application: Error opening gui driver: /querix/hydra.lnx64/./lib/modwingui.so

What do I do if the error “GLIBCXX_3.4.11 not found” or 'GLIBC_2.7 not found' is produced

Web Content Image
The following error is generated when you are copliling applications on Linux OS with Lycia, you should update your OS

Error Number 900 - 999

Web Content Image
Error details

What do I do if the error “`GLIBC_2.11' not found” is produced on Linux OS?

Web Content Image
If the following error is generated when you are compiling applications using Hydra command line or using Hydra Studio on Linux OS, you should upgrade the current version of your operating system

Importing Informix native projects

Web Content Image
To import programs created using Informix tools, you need to import source files into an existing Lycia project and link them to 4GL programs

Run Phoenix

Web Content Image
Phoenix can be executed via the windows start menu Start -> Querix -> Phoenix or via the command line (shell)

Informix for Lycia

Web Content Image
Users wanting to connect to a Linux database server using a Windows machine as the ‘front end', should note that the Linux server will need to be running some form of socket protocol (such as onsoctcp or ontlitcp) in order to establish the connection. You may also benefit from having the Informix SDK/Informix Connect installed on your local machine, so that you have a copy of setnet32.

Informix for Hydra

Web Content Image
Users wanting to connect to a Linux database server using a Windows machine as the ‘front end', should note that the Linux server will need to be running some form of socket protocol (such as onsoctcp or ontlitcp) in order to establish the connection. You may also benefit from having the Informix SDK/Informix Connect installed on your local machine, so that you have a copy of setnet32.

How do I exclude, unexclude and add files to the build configuration?

Web Content Image
When a project is created or imported, all the files present or added to it are included in the default build configuration. If you activate a non-default build configuration, you can exclude source files from the build, so that the project will be built without them.

How do I change build configurations?

Web Content Image
One project can have more than one build configuration. A build configuration contains the information about the files which are included into the build.

How to activate licenses in Windows/Unix/Linux using Lycia

Web Content Image
This article explains how you can activate a license

Configure SSL for Lycia

Web Content Image
How to setup SSL NOTE: On Unix it is normally necessary to have device random installed, this is because SSL uses it to request random data. You can check this is installed by running ls –l /dev/random or –ls /dev/urandom. If it is not installed you will need to install it before SSL will work.

Configure SSL for Hydra

Web Content Image
How to setup SSL NOTE: On Unix it is normally necessary to have device random installed, this is because SSL uses it to request random data. You can check this is installed by running ls –l /dev/random or –ls /dev/urandom. If it is not installed you will need to install it before SSL will work.

I cannot setup my environment in Unix

Web Content Image
When Hydra is installed there is a file put into the $QUERIXDIR that is called 'environ'. This is a config file that will set the $LD_LIBRARY_PATH and $PATH. This file can be accessed at any time.

I Cannot Execute/Run my Compiled Programs

Web Content Image
Some problems may occur when you try to run a program in GUI mode due to a firewall settings, incorrect Application server settings, etc.

Make Querix reports behave like Informix reports

Web Content Image
By default the right margin is enforced, and defaults to 132 characters.

200 - 299

Web Content Image
Errors descriptions

Error Number 500 - 599

Web Content Image
Errors descriptions

Error Number 25000 - 25099

Web Content Image
Errors descriptions

How do I work with Hydra projects in Lycia?

Web Content Image
To be able to work with a Hydra project, you need to import it into Lycia workspace. You cannot just copy project files into the workspace - this will not let Lycia work with them.

Querix Evaluation License Restrictions

Web Content Image
Below are the evaluation license restrictions on an unlicensed Hydra or Lycia package.

License Activation Fails

Web Content Image
If the manual license activation fails, your license is either invalid (tampered) or the license was already activated previously.

How do I get a license file

Web Content Image
To receive a license file, contact Querix or your authorized Querix reseller. To find out the contact details of your nearest Querix Partner, please contact Querix info@querix.com , or check our Querix partner location page.

How to add additional licences

Web Content Image
How to add additional licenses

How do I import programs and source files?

Web Content Image
To import different resources one should select the appropriate import options depending on the resource.

How do I use other repositories except CVS?

Web Content Image
In order to use some other repositories except CVS (for which Lycia offers a built-in client), you can install some additional plug-ins to your Lycia IDE.

How do I import and link a library?

Web Content Image
If a 4GL library is not created within a project, but you still need to use it, you may import a library into a project and then link it to a program. Or you can link it as an external library.

How do I create and edit screen records in forms ?

Web Content Image
Screen records are not reflected in the form area in any way. They can be viewed and edited only using the Properties view.

How do I specify a database for a form file?

Web Content Image
The database to which the form file will refer and to which the fields of the form may be linked is specified in the Properties View.

How do I convert form files?

Web Content Image
Lycia IDE supports two types of form files: the text form files (.per format) and the graphical form files (.4fm format). As many of the developers may need to import text form files into the Lycia IDE, the conversion of form files is enabled to convert these text forms into the graphical format.

How do I select and configure GUI server?

Web Content Image
Applications launched in graphical mode (using Phoenix or Chimera) are run on a GUI server. By default there are two GUI servers: GUI server on port 1789 which does not require authentication. GUI server on port 1791 with full authentication.

How do I export files, programs, projects and libraries from my Lycia IDE?

Web Content Image
You can export individual files or a complete project to the file system using the Export wizard.

Run License Manager

Web Content Image
You can start the License Mangager from On Windows Go to 'Start->Querix->Tools->License Manager' menu. Command Line / Shell Change to the 'bin' directory located in the Querix directory and enter 'NTLicense.exe' for Windows and 'licensegen' for Unix/Linu

Where do I get demo applications for Lycia?

Web Content Image
Demonstration applications are not shipped with Lycia. However, they are accessible form Querix CVS repository.

Running Lycia IDE

Web Content Image
Go to 'Start->All Programs->Querix->Lycia->Lycia IDE' or use the shortcut created on your desktop.

Run 'HydraStudio'

Web Content Image
Windows From the Startmenu -> programs, choose 'Querix' followed by 'HydraStudio'. Unix/Linux In the shell enter 'hstudio', this is located in $QUERIXDIR/bin.

Error Number 11000 - 11099

Web Content Image
Errors descriptions

Error Number 1900 - 1999

Web Content Image
Errors descriptions

Error Number 1400 - 1499

Web Content Image
Errors descriptions

Error Number 1800 - 1899

Web Content Image
Errors descriptions

Error Number 1300 - 1399

Web Content Image
Errors descriptions

Error Number 1200 - 1299

Web Content Image
Errors descriptions

Error Number 1100 - 1199

Web Content Image
Errors descriptions

Error Number 800 - 899

Web Content Image
Errors descriptions

Error Number 700 - 799

Web Content Image
Errors descriptions

Error Number 600 - 699

Web Content Image
Errors descriptions

Error Number 400 - 499

Web Content Image
Errors descriptions

Error Numer 300 - 399

Web Content Image
Errors descriptions

Error Number 100 - 199

Web Content Image
Errors descriptions

Error Number 000 - 099

Web Content Image
Errors descriptions

A list of Querix/Informix 4GL Key names

Web Content Image
Following keywords (key names) can be written in uppercase or lowercase letters separated by commas, to specify a key:

Change the Default Settings in TextView

Web Content Image
The following are command line options for font setting in TextView: /font /fontsize /pl /linespacing /rtl (or /ltr) /charset /rawcharset /f

Know What Integer Codes my Function Keys Return

Web Content Image
Function keys should return values in the range 3000 to 3063 (F1 - F64). Technically, Shift-F1 is usually interpreted as F13, which would give a result of 301

Debug my Programs with Hydra

Web Content Image
Interactive debuggers don't tend to be a lot of help when dealing with SQL problems, especially since the SQL is dynamically translated.

Print from my Program

Web Content Image
Printing from a file on client side (Windows) You can print from a file by using the following code:

Deploy my Programs using 'Hydra4GL'

Web Content Image
To deploy your application in a customer environment, you will need to install the Querix 'Hydra4GL' runtime package. This package is an integral part of the 'Hydra4GL' Compiler package, and consists of...

Runtime/Compiler errors

Web Content Image
Error number -329 can occur for a number of reasons. This may be an error returned from the database engine, but it may also be because Hydra is failing to load the interface for the database you are trying to use. One of the common reasons for this, is that the necessary pre-requisites for working with the database are not present.

I Cannot Compile my Application

Web Content Image
4make relies on program definition files for compilation. These files have a .def file extension, and contain information about the structure of the program.

Oracle 10g and dropping tables

Web Content Image
When dropping tables in Oracle 10g you find that they are not actually being dropped. This is a new feature where when a table is dropped it is put into a kind of recycle bin and appears like the example below.

My Characters are not Being Displayed Correctly

Web Content Image
This issue is probably due to locale configuration. Check the output of the command 'locale'. This will list your current locale settings.

'Hydra Studio' says " 'example' is not recognized as an internal or externa

Web Content Image
This problem is due to 'HydraStudio' not being able to find the C compiler.

I cannot get the correct date format

Web Content Image
In order to get the expected date format you will need to set the variable DBDATE in your environment, the value of this variable depends on the expected format of the date.

Some of my 'F' (F1,F7) keys dont work

Web Content Image
This example uses the F10 as an example of the 'F' key that is not working.

I have a problem with displaying non-Latin letters

Web Content Image
When I try to display some non-Latin letters (like German umlauts or line drawing characters) all umlauts are rendered as two characters, like "~N" or "~D".

What default DSN will be set, if it’s not specified?

Web Content Image
There is no 'default DSN'. The application will assume that the name given in the 4GL database statement is an ODBC connect string. For example:

Create a dynamic connection string

Web Content Image
It is possible to select the connection to the database within the code using a dynamically created connect string... take the following code as an example for Oracle:

Compilation Error: Error opening DB driver

Web Content Image
While compiling my application this error occured: Example Error opening DB driver: /usr/hydra.hp/lib/moddbdefault.sl can't open the module Querix Application Error No Database driver loaded or no Database specified.

Querix 4GL differences with Informix 4GL & Dynamic 4GL (BDS)

Web Content Image
The Querix 4GL provides a number of compatibility modes to bridge some of the differences in behaviour between Querix and Informix. There are, however, still some minor differences in the behaviour between the two products.

Having imported my program into 'HydraStudio', it now acts differently

Web Content Image
When you import your old programs into 'HydraStudio', you will also need to reference the associated files for your project. These files can include additional 4GL or form source files, unload (UNL) files, text files or config files for your program.

I get error -4409 when I compile

Web Content Image
This error occurs when 8 bit data is being handled in a UTF8 locale. The UTF8 locale can not deal with the 8bit data and errors. The way to fix this is to change your locale to a 8-bit locale and recompile the program.

I have a problem with running programs from Hydra

Web Content Image
Where does the RUN statement search for the executable file to run? Does the Run statement search the Windows PATH variable or will it only look into the current directory?

Import Existing Projects into Hydra

Web Content Image
You can use q4gl to import your i4gl files into 'Hydra4GL'. q4gl is in effect a drop in replacement for r4gl. Chapter 5 of the 'Hydra4GL' Developers guide describes the use of q4gl in detail.

Matches Operator with Informix and other Databases

Web Content Image
The Informix MATCHES operator is a non-ANSI extension to SQL that has little equivalent support in other RDBMs systems

PER Form files don't compile to PIC using a def file / 4make

Web Content Image
4make's behaviour may seem a little strange with .pic files. In order for .pic files to compile, you will need to append 'targ' to the name of the target you are compiling.

Preventing qxconsole window from displaying

Web Content Image
Describes why qxconsole window pops up and how to prevent this from happening.

Run Text/Character Mode client

Web Content Image
Change to the directory where the deployed application is located (on the application server) and execute it.

Use stored procedures in 4GL

Web Content Image
I‘ve already got the procedure in the MySQL database and I want to know, how could I call stored procedure in my 4gl application?

Compilation error on UNIX/Linux "file not recognized"

Web Content Image
If during the compilation on UNIX/Linux either using 4make tool or using the IDE you get this error: libwsclient.so: file not recognized: File format not recognized collect2: ld returned 1 exit status

Formats of Dates and Money Values Depend on the Locale

Web Content Image
In 4GL the format of DATE and MONEY values depends on the default locale. If U.S. English is the default locale the following formats are applied...

Phoenix cannot find my compiled programs on Linux

Web Content Image
Phoenix looks for your compiled programs in a default directory, which is defined by a file named 'querix' in '/etc/xinetd.d'.

mscal.ocx and/or comglg32.ocx components are not found

Web Content Image
During the installation of Phoenix you may get the warning message either at the end of the installation in the installation details or as a pop-up message during the installation. This message will inform you that you do not have mscal.ocx and/or comglg32.ocx components installed and Phoenix functionality is not fully available.

SSL Tool Guide

Web Content Image
In /SSL/misc there is a file called ‘CA.pl', by running the command "./CA.pl -?" it will display the various switches. In order to create the certificate run the command "./CA.pl –newreq" then you will be prompted to enter the information for the certificate.

Using Chimera with Java Web Start

Web Content Image
Describes how to use Chimera with Java Web Start.

I want to run Chimera without using the dialog box

Web Content Image
A tutorial on how to use the JNLP / HTML create tool

Run 'HTML and JNLP Creator'

Web Content Image
The Java Webstart 'HTML & JNLP Creator' Configuration Tool is a tool to create an easy way to access your programs.

Run Chimera

Web Content Image
Windows From the Startmenu, choose 'Querix' followed by 'Chimera'. Unix/Linux In the shell enter chimera

Program produces incorrect fonts in Chimera

Web Content Image
The program doesn't produce the correct fonts in GRID in Chimera client. Described behavior can be caused by incorrect font specification. Please check that your script options and fgl_setproperty("gui",...) calls that you use in your 4GL application to define font style correspond to the following...

Can't find database In GUI using Hydra (but can in text mode)

Web Content Image
Somtimes programs may behave differently (for example, unable to connect to database) when running through the GUI, which will work correctly when running in character mode. In this case the problem is usually a result of differences in the process environment.

Can't find database In GUI using Lycia (but can in text mode)

Web Content Image
Somtimes programs may behave differently (for example, unable to connect to database) when running through the GUI, which will work correctly when running in character mode. In this case the problem is usually a result of differences in the process environment.

Enhance the Appearance of my Program

Web Content Image
The appearance of your program can be enhanced through the Querix GUI scripting technology. This feature uses GUI script files (files with the extension ".qxs") to enhance and specify the style and appearance of the application.

Getting a GUI clients IP address

Web Content Image
How to obtain the IP address of machine Phoenix or Chimera is running on using 4GL. Use the fgl_get_property function, which will return the ip address of the machine Phoenix or Chimera is running on.

Changing the default Interrupt key in the GUI mode

Web Content Image
Though it is not possible to change the Interrupt key using the 4GL code directly, you can change it in the GUI mode with the help of the fglprofile.std file. To change the Interrupt key, you should open the fglprofile.std file located in the $HYDRA_DIR\etc directory and add the "gui.key.interrupt=".

Rebuild the terminfo for Wyse50

Web Content Image
To start, it would be best to decompile the terminfo library definition for wyse50. First check the environment variable $TERMINFO. This points to the terminfo library being used, or if null, you are using the default system library which is /usr/share/lib/terminfo.

Compile Programs

Web Content Image
In 'HydraStudio', you can compile single files or build complete programs. To Compile a Single File In the project tree, right click the corresponding file and choose 'Compile'. To Build a Program (Incremental) In the project tree, right click the program filename and choose 'Build' from the context menu. To Rebuild a Program In the project tree, right click the program filename and choose 'Rebuild' from the context menu.

Multibyte (UTF8) is not working

Web Content Image
This problem occurs because 'Hydra4GL' is not able to process multibyte chars at present. Char sets like Chinese big 5, Thai, etc., are UTF8, which are multibyte.