I am working on a C application under AIX that connects to both a DB2
database and a SAPDB database.
DB2 uses the ODBC API as it's CLI, just like SAPDB. I can link in both
the DB2 libs and SAPDB libs, but I can't call the SAPDB SQLXXXX
functions, the DB2 ones always get invoke.
I am linking both DB2 and SAPDB lib statically
Is there a lower level API that I can possibly use where the names
wouldn't clash with the DB2 names, e.g, something like
"SAPDB_SQLConnect()" for example.
If not, any suggestions as to how I can use both DB2 and SAPDB in the
same application where they both have the same ODBC API functions.
Derek
PS: I assume I can probably use unix ODBC (like SAPDB, I think I can use
the DB2 CLI under an ODBC manager), but I want to avoid this. For SAPDB,
I don't use an ODBC driver, I just connect to "host:dbname" as described
to me by someone else on this list.
--
Derek M. A. Lee-Wo
Email: (Home) [EMAIL PROTECTED] (Work) [EMAIL PROTECTED]
"Those who will not risk cannot win" - John Paul Jones
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general