IBM Support

PI96643: DRILL THROUGH WITH OPTIONAL PARAMETERS GENERATES INCORRECT WHERECLAUSE IN SQL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • A Drill Through in interactive viewer generates an incorrect
    where clause, when the target report contains several optional
    prompts, but not all of them are passed from the source report.
    Instead of ignoring the items in the where clause, all optional
    filters are added, but not all have associated values.
    
    Assume following example with the target report having 3
    optional filters (ITEM1, ITEM2, ITEM3), but only ITEM2 is passed
    from the source report. The where clause generated has the
    syntax,
    WHERE ITEM1 = AND ITEM2 = 'passed value' AND ITEM3= .
    The expected where clause should be only WHERE ITEM2='passed
    value'
    Error message from a DB2 is for example:
    XQE-DAT-0001 Data source adapter error:
    com.ibm.db2.jcc.am.SqlSyntaxErrorException: An unexpected token
    ""Products"" was found following "_METHOD_CODE" =  AND".
    Expected tokens may include:  "AND".. SQLCODE=-104,
    SQLSTATE=42601, DRIVER=3.69.66
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Analytic 11.0.11.0                     *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI96643

  • Reported component name

    COG REPORT STUD

  • Reported component ID

    5724W12RS

  • Reported release

    B0A

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-12

  • Closed date

    2018-05-03

  • Last modified date

    2018-05-03

  • 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

  • RB0A 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":"B0A","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 May 2018