C IBM DB2 odbc driver or other way to connect to DB2 AS400

Hello,

I'm developing an app that must connect to IBM DB2 (AS400 i Series 7.1), but there's no db2 odbc driver for FreeBSD.

Does the Linux odbc driver work under FreeBSD?

Have anyone worked under this scenery that can point me in the right direction?

Is there another way to connect to DB2 database under ports?

Thanks
 
Yes, unixODBC and iDOBC are the driver managers, but not the drivers for each db.

There are drivers for mysql, postgres, sqlite, mongo, csv, etc...; unixODBC and iODBC manages them.

I use unixODBC in other projects for other DBMS.
 
Yes, and don't know if the linux one works.

I tried to install it (the linux one) but the shell script is linux and installs in /opt/ among other non bsd directories, polluting everything. I revert the vm to state before the install.
 
I'm not seeing any sourcecode ODBC drivers for db2, just binaries from IBM, for linux, solaris, or windows. You may have to go the JDBC route if you're committed to freeBSD access.
 
Back
Top