728x90

Question

How to tell the version of Informix Products or Libraries Installed

Answer

It may be neccessary to find the version of the Informix product or library that is installed in a particular $INFORMIXDIR directory.

Described are three methods to display version information for database server and client products. Make sure the following environment variables are set: 

    INFORMIXDIR
    PATH


Method 1

The following table describes the command to be run for a particular product:

Product​​
Command​​
INFORMIX DYNAMIC SERVER​​dbaccess -V​​
INFORMIX STANDARD ENGINE (SE)​​dbaccess -V​​
Informix 4GL Compiler Development ​​c4gl -V or i4gl -V ​​
INFORMIX-4GL Rapid Development System​​r4gl -V ​​
INFORMIX-4GL Interactive Debugger ​​fgldb -V​​
INFORMIX-SQL, Runtime Facility​​isql -V​​
INFORMIX-Client SDK​​ifx_getversion clientsdk​​


Method 2

To display the version of an application product or a library, issue the ifx_getversion command.

Usage: ifx_getversion [product_name | library_name]

The following table describes a list of products and libraries:

Product/Library​​
​​ifx_getversion​​
clientsdk​​ifx_getversion clientsdk​​
esql​​ifx_getversion esql​​
java | libjavai​​ifx_getversion libjava​​
dmi | libdmi​​ifx_getversion libdmi​​
c++ | libc++​​ifx_getversion libc++​​
libcli[.a|.so]​​ifx_getversion libcli.so​​
libgls[.a|.so]​​ifx_getversion libgls.so​​
libos[.a|.so]​​ifx_getversion libos.so​​
libasf[.a|.so]​​ifx_getversion libasf.so​​
libsql[.a|.so]​​ifx_getversion libsql.so​​
libgen[.a|.so] ​​ifx_getversion libgen.so​​


where:
    libasf are the connectivity libraries.
    libgen are the general libraries.
    libOS are the OS supporting libraries. These are just there to determine if libraries exist.

example:
    ifx_getversion libcli.so
    IBM/Informix-Client SDK Version 3.50.UC3
    IBM/Informix ODBC LIBRARY Version 3.50.0000.UC3

    ifx_getversion libgls.so
    INFORMIX LIBGLS LIBRARY Version 4.50.UC4

    ifx_getversion libos.so
    IBM/Informix-Client SDK Version 3.50.UC3
    IBM/Informix LIBOS LIBRARY Version 3.50.UC3

    ifx_getversion libasf.so
    IBM/Informix-Client SDK Version 3.50.UC3
    IBM/Informix LIBASF LIBRARY Version 3.50.UC3

    ifx_getversion libsql.so
    IBM/Informix-Client SDK Version 3.50.UC3
    IBM/Informix LIBSQL LIBRARY Version 3.50.UC3

    ifx_getversion libgen.so
    IBM/Informix-Client SDK Version 3.50.UC3
    IBM/Informix LIBGEN LIBRARY Version 3.50.UC3

    libasf are the connectivitylibraries.
    lib gen are the general libraries.
    LibOS are the OS supporting libraries. These are just there to determine if customer has libraries

Method 3

Another method to determine the product versions is to review all the files containing the product versions.

Follow these steps:

1. ls -l $INFORMIXDIR/etc/*cr 
2. cat $INFORMIXDIR/etc/*cr 


example:
ls -l $INFORMIXDIR/etc/*cr 

-rw-r--r-- 1 informix informix 114 Oct 17 2008 ASF-cr
-rw-r--r-- 1 informix informix 117 Oct 17 2008 CLI-cr
-rw-r--r-- 1 informix informix 69 Oct 172008ClientSDK-cr
-rw-r--r-- 1 informix informix 99 Oct 17 2008 CPLUS-cr
-rw-r--r-- 1 informix informix 114 Oct 17 2008 DMI-cr
-rw-r--r-- 1 informix informix 118 Oct 17 2008 ESQL-cr
-rw-r--r-- 1 informix informix 114 Oct 17 2008 GENLIB-cr
-rw-r--r-- 1 informix informix 102 Oct 28 2008 GLS-cr
-rw-r--r-- 1 informix informix 107 Oct 28 2008 IIF-cr
-rw-r--r-- 1 informix informix 107 Oct 28 2008 MSG-cr
-rw-r--r-- 1 informix informix 113 Oct 17 2008 OSLIB-cr
-rw-r--r-- 1 informix informix 114 Oct 17 2008 SQLI-cr

cat $INFORMIXDIR/etc/*cr 

IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix LIBASF LIBRARY Version 3.50.UC3
Copyright (C) 1991-2008 IBM
IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix ODBC LIBRARY Version 3.50.0000.UC3
Copyright (C) 1991-2008 IBM
IBM/Informix-Client SDK Version 3.50.UC3
Copyright (C) 1991-2008 IBM
IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix C++ API 3.50.UC3
Copyright (C) 1991-2008 IBM
IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix LIBDMI LIBRARY Version 3.50.UC3
Copyright (C) 1991-2008 IBM
IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix EMBEDDED SQL for C Version 3.50.UC3
Copyright (C) 1991-2008 IBM
IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix LIBGEN LIBRARY Version 3.50.UC3
Copyright (C) 1991-2008 IBM
INFORMIX LIBGLS LIBRARY Version 4.50.UC4
Copyright (C) 1986-2008 IBM Corporation, All rights reserved
IBM Informix Dynamic Server Version 11.50.UC3
Copyright (C) 1986-2008 IBM Corporation, All rights reserved
IBM Informix Dynamic Server Version 11.50.UC3
Copyright (C) 1986-2008 IBM Corporation, All rights reserved
IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix LIBOS LIBRARY Version 3.50.UC3
Copyright (C) 1991-2008 IBM
IBM/Informix-Client SDK Version 3.50.UC3
IBM/Informix LIBSQL LIBRARY Version 3.50.UC3
Copyright (C) 1991-2008 IBM



https://www-304.ibm.com/support/docview.wss?uid=swg21389048

728x90

+ Recent posts