[ale] Linux DB2 interface?

Brian Pitts brian at polibyte.com
Fri Jan 16 13:44:13 EST 2009


On Fri, 2009-01-16 at 11:13 -0700, Robert L. Harris wrote:
> Seems I need to put together a perl script to suck some data out of a 
> DB2 database.
> I'm being told that there is no free interface such as ODBC to put on my 
> Linux system
> to do the connection.  Anyone know a good way or a have a sample script that
> connects to a DB2 database and reads from some tables?
> 

You're looking for DBI [0], the standard database interface module for
Perl. There is a DB2 driver [1].

[0] http://dbi.perl.org/

[1] http://search.cpan.org/dist/DBD-DB2/DB2.pod

-Brian



More information about the Ale mailing list