Re: esql++ question
Posted in 1998
On Fri, 25 Sep 1998, William Warner wrote: > I am trying to build in just a little bit of informix into a heirarchy > of c++ classes I'm developing. I'm trying to use Jonathan Leffler's > esql++ approach (http://www.iiug.org/techinfo/faq/ifaqn.htm#APPN). I > have successfully compiled testapp, but it fails with ISAM error -369 > when executing the line > > EXEC SQL DATABASE stores; > > The minus sign on the error tells me something is way off here, but I > can't see through it! Negative error numbers are normal -- positive ones would be abnormal. -369 Invalid serial number. Please consult your installation instructions. Some error has been made in the installation of your Informix product(s). Check the value in the SQLEXEC environment variable (for database server versions prior to 6.0) and INFORMIXDIR environment variable; then consult the person who installed the software, and review the installation instructions. Something somewhere isn't installed correctly, as it says. Did you enable your ESQL/C installation? It isn't enough to copy it onto the disk -- you also have to licence it. And which platform and version are you using? > On a related topic, do the c++ object interface libraries come in a > version compatible with gcc-2.8.1, platform sparc solaris 2.6? Ours seem > to be set up for the Sun C++ compiler, which we don't have. No -- you have to use the Sun compiler to use the C++ libraries. 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