Don Gollahon wrote:
> Is it possible to connect to Informix SE 6.02 on Unix via ODBC or ADO? If
> so, how? I've downloaded the IBM Informix Client SDK but don't know what
> port # to use. The services file does not have the sqlexec service listed
> in it.
Sort of, maybe, but you shouldn't. 6.02 is pretty archaic.
You'd have to run the sqlexecd program (from $INFORMIXDIR/lib). You'd
have to configure which port it uses, either by adding sqlexec to
/etc/services or by using some service name that is not in use but is
in /etc/services. I'm pretty much assuming that your client code is
on an M$ platform so you need to use a network connection - if it is
also on Unix, then you don't have to use a network connection or
sqlexecd but you can use the seipcpip connection type in the sqlhosts
file and sqlexec in the fourth column indicates the executable to use.
--
Jonathan Leffler #include <disclaimer.h>
Email:
jleffler@earthlink.net,
jleffler@us.ibm.com
Guardian of DBD::Informix v2003.04 --
http://dbi.perl.org/