Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: How to load a DB2 database using PERL

by theguvnor (Chaplain)
on Apr 15, 2004 at 19:37 UTC ( #345515=note: print w/replies, xml ) Need Help??

in reply to How to load a DB2 database using PERL

As long as you can download and install the "DB2 Connect" package for Windows (which manages the ODBC connection to DB2), you will be able to do this easily using DBI and the DBD::ODBC driver. You create a DSN using DB2 Connect that contains the info for your DB2 database, and point the DBI at that DSN. Not sure if DB2 Connect can be downloaded for free anymore.


  • Comment on Re: How to load a DB2 database using PERL

Replies are listed 'Best First'.
Re: Re: How to load a DB2 database using PERL
by Beechbone (Friar) on Apr 16, 2004 at 20:53 UTC
    FYI: A DB2 Connect installation is needed to use the DBD::DB2 drivers, too.

    BTW, why do you recommend to use ODBC when the native interface is up and running already?

    Search, Ask, Know
      Actually, a DB2 Connect installation (not free) is only required for access to DB2 on iSeries or zSeries machines from Linux, UNIX, or Windows.

      To access DB2 on Linux, UNIX, or Windows, you just need to download a free DB2 client (Runtime, Administration, or Application Development) from DB2 Support.

      If you're compiling DBD::DB2, get the DB2 Application Development Client and ensure you select the "Install Headers" option.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://345515]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2020-04-01 05:02 GMT
Find Nodes?
    Voting Booth?
    To "Disagree to disagree" means to:

    Results (186 votes). Check out past polls.