A fix is available
APAR status
Closed as program error.
Error description
SQLCODE -404 may occur during an EXPLAIN of a query, when certain hidden V8 Explain tables exist, or when TABSTATS_TABLE, IDXSTATS_TABLE and/or COLSTATS_TABLE exist in V9.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of TABSTATS_TABLE, COLSTATS_TABLE, * * and IDXSTATS_TABLE. * **************************************************************** * PROBLEM DESCRIPTION: When the hidden tables (TABSTATS_TABLE, * * COLSTATS_TABLE, and IDXSTATS_TABLE) are * * enabled, SQLCODE -404 is returned for a * * simple Explain on a query. * **************************************************************** * RECOMMENDATION: * **************************************************************** When the three hidden tables (TABSTATS_TABLE, COLSTATS_TABLE, and IDXSTATS_TABLE) are created and enabled, an Explain of a query would try to populate the hidden tables. This will cause an error with SQLCODE -404. The error message is as follows. "THE SQL STATEMENT SPECIFIES A STRING THAT IS TOO LONG". Additional Keywords: SQLEXPLAIN SQLCODE404
Problem conclusion
When populating the hidden tables, DB2 did not align some of the fields in the record correctly. These fields are now aligned to fix the problem.
Temporary fix
Comments
APAR Information
APAR number
PK64599
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-04-17
Closed date
2008-05-29
Last modified date
2008-07-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK36892
Modules/Macros
DSNXOD6
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
R910 PSY UK36892
UP08/06/14 P F806
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":"9.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":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 July 2008