IBM Support

PM27608: Informix will not prepare query due to incorrect quoting of generated SQL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The Informix SQL generated from a Cognos SQL statement will fail
    to prepare because the column alias names and column references
    are not consistently quoted. By default Informix defaults to
    lower case but will honor upper and mixed case names when they
    are enclosed in quotes. For example:  Note how the outer query
    refers to C1 and C2 in quotes but in the inner block they are
    not quoted  Cognos SQL select_ UPPERCASED.C1  as  C1,
    UPPERCASED.C2  as  C2 from IFX..informix.UPPERCASED UPPERCASED
    where (UPPERCASED.C1 > 0) group by UPPERCASED.C1, UPPERCASED.C2
    Generated Informix SQL select_UPPERCASED3.C2 as C2 from
    (select_UPPERCASED.C1 as C1, UPPERCASED.C2 as C2 from
    informix.UPPERCASED UPPERCASED where UPPERCASED.C1>0 group by
    UPPERCASED.C1, UPPERCASED.C2) UPPERCASED3
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Business Intelligence 10.1 Fix Pack 1  *
    * or Upgrade to IBM Cognos 8 Business Intelligence 8.4.1 Fix   *
    * Pack 4                                                       *
    ****************************************************************
    

Problem conclusion

  • Code Fix
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM27608

  • Reported component name

    COG BI FRAMEWK

  • Reported component ID

    5724W12FM

  • Reported release

    841

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-26

  • Closed date

    2011-12-16

  • Last modified date

    2011-12-16

  • 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 BI FRAMEWK

  • Fixed component ID

    5724W12FM

Applicable component levels

  • RA10 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHNWR","label":"Framework and Map Manager v11x"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"841","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 December 2011