APAR status
Closed as program error.
Error description
When running a complex report based on a dynamic query mode package against DB2, a SQL syntax exception is thrown: XQE-DAT-0001 Data source adapter error: com.ibm.db2.jcc.am. SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-104, SQLSTATE=42601, SQLERRMC=DESCFOR; The SQLERRMC part of the error may vary slightly - the issue is caused by a missing space before the last FOR FETCH ONLY clause in the SQL query. In this example, the last keyword before the FOR FETCH ONLY clause was the DESC keyword from an ORDER BY clause, resulting in the invalid keyword DESCFOR.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * all users * **************************************************************** * PROBLEM DESCRIPTION: * * see error description * **************************************************************** * RECOMMENDATION: * * Upgrade to IBM Cognos Business Intelligence 10.2.1 Fix Pack * * 8 * ****************************************************************
Problem conclusion
code fix
Temporary fix
Comments
A fix for this APAR is targeted for IBM COGNOS 10.2.1 BI Fix Pack 8. The Fix Pack Release Schedule can be found at http://www.ibm.com/software/analytics/support/fixes/pbi_schedule .html.
APAR Information
APAR number
PI40648
Reported component name
COG REPORT STUD
Reported component ID
5724W12RS
Reported release
A21
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-05-07
Closed date
2015-07-31
Last modified date
2015-07-31
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
COG REPORT STUD
Fixed component ID
5724W12RS
Applicable component levels
RA21 PSN
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHNWW","label":"Report Authoring v11x"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A21","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
31 July 2015