cd /sqllib/bnd db2 connect to db2 "BIND @db2cli.lst BLOCKING ALL CLIPKG 6 grant public" db2 terminate cd /sqllib/cfg Edit the db2cli.ini file adding the following line under your dbalias section:
CLIPKG=6
Note: CLIPKG 6 may not be high enough.
Ensure that you restart the application after rebinding to test.
When changing the CLIPKG value caution should be taken. The higher this value is the more system resources can be used, and performance may take a hit as more open statement handles are in use. It is very possible to hit hardware and operating system limitations when setting this at high values.