A fix is available
APAR status
Closed as program error.
Error description
SQLCODE904N RC00E7000E Invalid precision 33 when running query with FLOAT and DECIMAL on ACCELERATOR e.g. query has: ..DEC(FLOAT(col1)), 25, 10) -> get invalid precision ..DEC(FLOAT(col1)), 25, 8) -> will run well
Local fix
try to lower decimal precision
Problem summary
**************************************************************** * USERS AFFECTED: All users of DB2 for z/OS who use query * * acceleration. * **************************************************************** * PROBLEM DESCRIPTION: An SQLCODE -904 can be incorrectly * * issued for an SQL statement executed * * on an accelerator that contains * * DECODE or a CASE expression with * * a DECIMAL result data type. * **************************************************************** * RECOMMENDATION: * **************************************************************** An SQLCODE -904 can be incorrectly issued for an SQL statement executed on an accelerator that contains DECODE or a CASE expression with a DECIMAL result data type. Keywords: IDAAV4R1/K IDAAV5R1/K SQLDECODE SQLCASE SQLCODE904
Problem conclusion
DB2 code is fixed such that the above SQL statement executes successfully on an accelerator.
Temporary fix
Comments
×**** PE17/01/06 FIX IN ERROR. SEE APAR PI73502 FOR DESCRIPTION
APAR Information
APAR number
PI54835
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-01-05
Closed date
2016-02-02
Last modified date
2017-01-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI34965 UI34966
Modules/Macros
DSNXONZC
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
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.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
30 January 2017