Fixes are available
DB2 Version 9.1 Fix Pack 7 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 7a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 8 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 9 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 10 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12 for Linux, UNIX and Windows
APAR status
Closed as program error.
Error description
This APAR is the same as IY95017 excepts covers the scenario where the database server is DB2 for z/OS v8 An OLEDB application if issuing IColumnsInfo will return SQL_NUM ERIC for DECIMAL(x,y) columns however IDBSchemaRowset(DBSCHEMA_C OLUMNS) will return SQL_DECIMAL. This will cause certain appli cations to fail like Microsoft SQL Server Linked Server, where i t expects the same datatype for both calls. . The OLEDB specifications indicate that SQL_NUMERIC be used for D ECIMAL columns. This APAR will ensure IDBSchemaRowset(DBSCHEMA_ COLUMNS) is changed such that it returns SQL_NUMERIC instead of SQL_DECIMAL. . Note: IColumnsInfo maps to the CLI API SQLDescribeCol() and ID BSchemaRowset(DBSCHEMA_COLUMNS) maps to the CLI API SQLColumnsW( ).
Local fix
Add GenericSchemaKeywords="OLEDBNUMERIC=1" to db2cli.ini
Problem summary
This APAR is the same as IY95017 excepts covers the scenario where the database server is DB2 for z/OS v8 An OLEDB application if issuing IColumnsInfo will return SQL_NUM ERIC for DECIMAL(x,y) columns however IDBSchemaRowset(DBSCHEMA_C OLUMNS) will return SQL_DECIMAL. This will cause certain appli cations to fail like Microsoft SQL Server Linked Server, where i t expects the same datatype for both calls. . The OLEDB specifications indicate that SQL_NUMERIC be used for D ECIMAL columns. This APAR will ensure IDBSchemaRowset(DBSCHEMA COLUMNS) is changed such that it returns SQL_NUMERIC instead of SQL_DECIMAL. . Note: IColumnsInfo maps to the CLI API SQLDescribeCol() and ID BSchemaRowset(DBSCHEMA_COLUMNS) maps to the CLI API SQLColumnsW( ).
Problem conclusion
First fixed in DB2 UDB Version 9.1, FixPak 7
Temporary fix
Add GenericSchemaKeywords="OLEDBNUMERIC=1" to db2cli.ini
Comments
APAR Information
APAR number
JR30732
Reported component name
DB2 CEE WINDOWS
Reported component ID
5765F3001
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-10-09
Closed date
2009-04-17
Last modified date
2009-04-17
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 CEE WINDOWS
Fixed component ID
5765F3001
Applicable component levels
R910 PSN
UP
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910"}]
Document Information
Modified date:
06 October 2021