IBM Support

PM36735: INCORRECT CUSTOM SQL IN REPORT STUDIO REPORTS NO LONGER RETURNS DATABASE ERROR MESSAGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • In Cognos 8, when a Report Studio report that relied on custom
    Pass-Through SQL had SQL errors in it, it would return the
    database error message in the error return.  As of 10.1, it we
    are now returning the following error message:?QE-DEF-0030
    Expression parsing error.?Details show the following
    error:?QE-DEF-0359 The query contains a reference to at least
    one object '[SQL1].[DATE]' that does not exist.??In previous
    versions (up until 8.4.1 FP3), we received text along the lines
    of:?RQP-DEF-0177 An error occurred while performing operation
    'sqlPrepareWithOptions' status='-56'.?Details show the following
    error:?UDA-SQL-0115 Inappropriate SQL request.?UDA-SQL-0564
    [Microsoft SQL Native Client]Deferred prepare could not be
    completed.?UDA-SQL-0564 [Microsoft SQL Native
    Client]Statement(s) could not be prepared. (SQLSTATE=42000,
    SQLERRORCODE=8180)?UDA-SQL-0564 [Microsoft SQL Native
    Client]'GETDATE2' is not a recognized built-in function name.
    (SQLSTATE=42000, SQLERRORCODE=195)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Business Intelligence 10.2 Refresh     *
    * Pack 1                                                       *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM36735

  • Reported component name

    COG8 BI REPORT

  • Reported component ID

    5724W12RS

  • Reported release

    A10

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-11

  • Closed date

    2013-06-11

  • Last modified date

    2013-06-11

  • 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

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

Document Information

Modified date:
11 June 2013