Hi Allan, Answers as below,
> I don't have an instance on the client machine, do i need the one on the > server? An instance is required on the client machine, however instance on a server in unrelated to any instances on the client. Those ( instances on server and client ) are 2 different entities. > The docs state that this is not used for application development. Does > this package still contain the needed headers to compile DBD::DB2? Could you point me to the docs that you referred to. Yes, the downlaod link below (missed pasting the link in the previous post) contains the necessary header files and it is available from version 9.7 only. Download link: http://www-01.ibm.com/support/docview.wss?rs=4020&context=SSSNY3&dc=D600&uid=swg21385217&loc=en_US&cs=UTF-8&lang=en > 1) Download the package suitable for you platform and the architecture > for which perl is built (32/64 bit). > I only see a v 9.7 package, but our db is 9.1, is this a problem? No problems, you can connect to a 9.1 server with V9.7 client. > 2) Untar the tar ball downloaded. Say it is placed in directory (/home/ > user/clidriver) > > 3) set the environment variable LD_LIBRARY_PATH to the lib directory > in the location above > > export LD_LIBRARY_PATH=/home/user/clidriver/lib > > 4) Now run you test case using un-cataloged connection > > Let me know if you require more information > Do I still need the DB2INSTANCE var with this driver? If so, it should > be the instance on the server? No, DB2INSTANCE setting is not required. Thanks Praveen