The ifx_getversion utility (UNIX)

To obtain the complete version name of the HCL OneDB™ library, use the ifx_getversion utility.

Before you run ifx_getversion, set the ONEDB_HOME environment variable to the directory in which your HCL OneDB product is installed.

The ifx_getversion utility has the following syntax.


1  ifx_getversion
1 libgen.xx
1 libthgen.x
1 libos.xx
1 libthos.x
1 libsql.xx
1 libthsql.x
1 libgls.xx
1 libasf.xx
Element Purpose Key considerations
xx For static libraries, xx specifies the .a file extension; for shared libraries, xx specifies the platform-specific file extension. For shared libraries, the Sun platform uses the .so file extension and the Hewlett-Packard (HP) platform uses the .sl file extension.
The following example shows an example of output that the ifx_getversion utility generates for the libgen HCL OneDB library:
IBM/Informix-Client SDK Version 3.00.UN191
IBM/Informix LIBGEN LIBRARY Version 3.00.UN191
Copyright (C) 1991-2007 IBM

Output of ifx_getversion depends on the version of software that is installed on your system.