Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Name Modified Size InfoDownloads / Week
Parent folder
dbnames.ec 2019-06-13 2.3 kB
readme.txt 2019-06-13 1.0 kB
Totals: 2 Items   3.3 kB 0
From: johnl@informix.com (Jonathan Leffler)
Newsgroups: comp.databases.informix
Subject: Re:  ESQL/C: List of databases
Date: 1 Feb 1994 14:28:32 -0500
X-Informix-List-ID: <list.3451>

>Date: Tue, 1 Feb 1994 16:29:37 +0100 (GMT+0100)
>From: "Centr. Instytut Ochrony Pracy" <cinsop@frodo.nask.org.pl>
>Subject: ESQL/C: List of databases
>X-Informix-List-Id: <list.3449>
>
>Hi,
>Is there a way of determinig the names of all created databases
>from within an esql/c program?
>
>Pawel Pietrusinski
>Centralny Instytut Ochrony Pracy
>Warsaw, Poland,
>cinsop@frodo.nask.org.pl

The code below covers your requirements.  It is packaged as a free-standing
program, but won't take long to disembowel into some sort of function you
can use.  Note that this works regardless of which version of ESQL/C you
have -- it includes routines which are occasionally missing from the ESQL/C
libraries but which are needed to make this work.

Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>

:	"%W% %E%"
Source: readme.txt, updated 2019-06-13