Page 1 of 1

Accessing DB2 using ODBC

Posted: Mon Nov 06, 2006 5:09 am
by asitagrawal
Hi,

I am trying to access Db2 using the ODBC stage, but I am getting the following error for all the columns.

ODBC_88.DSLink86: DSD.BCIOpenR results of SQLColAttributes(BUSINESS_UNIT) gave MetaData mismatch
COLUMN.TYPE Expected = Char Actual = Unknown

Please tell me a workaround.

I want to use ODBC to access data from Db2 because I want to use 'reference link with multi row result set' property for my reference lookup.

Posted: Mon Nov 06, 2006 8:03 am
by ray.wurlod
Get the SQL data types in your job design to match those in the DB2 table (that is, Char of the appropriate size).

Posted: Mon Nov 06, 2006 8:18 am
by chulett
And make sure you click that 'Get SQL Info' button at least once... it's called something like that, anyway.