A fix is available
APAR status
Closed as program error.
Error description
when using ODBC LIMITEDBLOCKFETCH option column data may be not processed correctly when fetching from an SQL_DECIMAL column into an SQL_C_BINARY C data type ADDITIONAL KEYWORDS/SYMPTOMS: =========================== ODBC driver INCORROUT
Local fix
n.a.
Problem summary
**************************************************************** * USERS AFFECTED: All users of DB2 10 for z/OS ODBC/CLI * * and DB2 11 for z/OS ODBC/CLI running * * with LIMITEDBLOCKFETCH=1. * **************************************************************** * PROBLEM DESCRIPTION: When LIMITEDBLOCKFETCH=1, incorrect * * data is returned when fetching from * * a numeric column into a buffer of * * C type SQL_C_BINARY. * **************************************************************** * RECOMMENDATION: * **************************************************************** When fetching from a DECIMAL, NUMERIC, SMALLINT, INTEGER, REAL, DOUBLE, or FLOAT column into a buffer of C type SQL_C_BINARY, incorrect data is returned with LIMITEDBLOCKFETCH=1.
Problem conclusion
Code has been changed to correctly fetch SQL_C_BINARY data from numeric columns.
Temporary fix
Comments
APAR Information
APAR number
PI17026
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
A17
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2014-05-01
Closed date
2014-07-25
Last modified date
2014-09-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI20088 UI20089
Modules/Macros
DSNAOCLI DSNAOC27 DSNAOG27 DSNAOSDK
Fix information
Fixed component name
DB2 ODBC/JDBC/S
Fixed component ID
5740XYR02
Applicable component levels
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A17"}]
Document Information
Modified date:
04 March 2021