Re: Finding version number at runtime
Posted in 1997
Art S. Kagel wrote: > > Billy Wheeler wrote: > > > > On 20 Aug 97 at 21:00, Vinhson wrote: > > > > > I am writing an ESQL/C application in which I would like to > > > determine the version number of the Informix Client at runtime. > Does > > > anyone know how I can do that? > > > > Well, I don't know if it will help, but you can do an esql -V > > For a good time, call: http://www.iiug.org/techinfo/faq/faq_top.html > > Best I can do: > > 1) If no database 'sysmaster' version is 5.0x or lower. > 2) If no table sysmaster:syschkextents version is 6.00. > 3) If no database 'sysutils' version is 7.14 or lower. > 4) Otherwise, version is 7.20 or greater. > > Better granularity than that I cannot help with. Erm, I think you are referring to the Informix database server version Art. The question was asking for the Informix client version. ;-) Cheers, -- Mark. +----------------------------------------------------------+-----------+ |Mark D. Stock - Informix SA http://www.informix.com |//////// /| |mailto:mdstock@informix.com FAQ http://www.iiug.org |///// / //| | +-----------------------------------+//// / ///| | Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////| | Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////| |Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////| +----------------------+-----------------------------------+-----------+