Navigation |
FAQ
Set the DBPATH Environment Variable 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) Error -994
Error opening DB driver: /./lib/moddboracle.so Runtime error -1319 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 This article explains how you can activate a license I Cannot Download Querix Tools 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 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 The following error is generated when you are copliling applications on Linux OS with Lycia, you should update your OS What do I do if the error “`GLIBC_2.11' not found” is produced on Linux OS? 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 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 Phoenix can be executed via the windows start menu
Start -> Querix -> Phoenix
or via the command line (shell) Informix for Lycia 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 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? 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? 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 This article explains how you can activate a license Configure SSL for Lycia 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 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 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 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 By default the right margin is enforced, and defaults to 132 characters. Error Number 25000 - 25099 How do I work with Hydra projects in Lycia? 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 Below are the evaluation license restrictions on an unlicensed Hydra or Lycia package. License Activation Fails 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 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 How to add additional licenses How do I import programs and source files? To import different resources one should select the appropriate import options depending on the resource. How do I use other repositories except CVS? 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? 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 ? 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? 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? 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? 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? You can export individual files or a complete project to the file system using the Export wizard. Run License Manager 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? Demonstration applications are not shipped with Lycia. However, they are accessible form Querix CVS repository. Running Lycia IDE Go to 'Start->All Programs->Querix->Lycia->Lycia IDE' or use the shortcut created on your desktop. Run 'HydraStudio' 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 A list of Querix/Informix 4GL Key names 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 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 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 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 Printing from a file on client side (Windows)
You can print from a file by using the following code: Deploy my Programs using 'Hydra4GL' 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 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 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 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 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 This problem is due to 'HydraStudio' not being able to find the C compiler. I cannot get the correct date format 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 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 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? 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 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 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) 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 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 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 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 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 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 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 Describes why qxconsole window pops up and how to prevent this from happening. Run Text/Character Mode client Change to the directory where the deployed application is located (on the application server) and execute it. Use stored procedures in 4GL 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" 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 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 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 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 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 Describes how to use Chimera with Java Web Start. I want to run Chimera without using the dialog box A tutorial on how to use the JNLP / HTML create tool Run 'HTML and JNLP Creator' The Java Webstart 'HTML & JNLP Creator' Configuration Tool is a tool to create an easy way to access your programs. Run Chimera Windows
From the Startmenu, choose 'Querix' followed by 'Chimera'.
Unix/Linux
In the shell enter
chimera Program produces incorrect fonts in Chimera 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) 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) 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 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 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 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 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 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 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. |