Re: Databases located on server
Posted in 1998
On Wed, 19 Aug 1998, Sagamorek wrote: > I am new to informix and I have to write a C function that would > return ALL database names located on a specified server. You really want to write it? Have fun -- it's hard. A much better idea is to use sqgetdbs() which is even documented in the 7.2 ESQL/C manuals -- it has been around since time immemorial, but only got documented rather recently. See also the code in the IIUG software archives (http://www.iiug.org) which has what you need to make it work on antique versions of ESQL/C as well as working on the normal versions. Yours, Jonathan Leffler (jleffler@informix.com) #include <witticism.h> Guardian of DBD::Informix v0.60 -- http://www.perl.com/CPAN Informix IDN for D4GL & Linux -- http://www.informix.com/idn