APAR status
Closed as fixed if next.
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 Analytics 11.0 * ****************************************************************
Problem conclusion
Temporary fix
Comments
A fix for this APAR is targeted for the next major release of IBM Cognos .
APAR Information
APAR number
PI40664
Reported component name
COG REPORT STUD
Reported component ID
5724W12RS
Reported release
A21
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-05-07
Closed date
2015-12-23
Last modified date
2015-12-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
RB00 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:
23 December 2015