This is a problem with the dB2 ODBC driver. Loading the JDBC driver will avoid this. This driver works better than the ODBC driver.