Use SQLDriverConnect() instead of SQLConnect()

SQLDriverConnect() overrides any or all of the initialization keyword values that are specified in the Db2 ODBC initialization file for a target data source.

Use SQLDriverConnect() instead of SQLConnect() to make a connection in your application behave independently of the Db2 ODBC initialization file.