Hi Allan,

Check if your DB2INSTANCE environment variable is set correctly to the
instance name to over come this error. Given that you have no need for
a local db on your client machine, you can use the the IBM Data Server
Driver for ODBC CLI package, a small foot print DB2 client (aprox 20
MB) to connect to your DB2 server.

How to setup IBM Data Server Driver for ODBC CLI:

1) Download the package suitable for you platform and the architecture
for which perl is built (32/64 bit).

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

Thanks

Praveen



Reply via email to