IBM Support

PH54206: CAST AS NVARCHAR IN COGNOS SQL IN FM CAUSES SPLIT SQL FOR JOINEDTABLES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When cast([column], NVARCHAR(10000)) as Alias_Name is used in
    custom Cognos SQL in a data source query subject in FM on a Text
    field (blob data type), and that table is joined to another
    table, a resulting query between the two tables will split the
    SQL and thereby cause local processing. This is causing the
    client significant performance issue. This worked in DQM in
    Cognos 10. Client requires NVARCHAR for Unicode characters.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Analytics 11.2.4 Fix Pack 2            *
    ****************************************************************
    

Problem conclusion

  • Code Fix
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH54206

  • Reported component name

    COGNOS ANALYTIC

  • Reported component ID

    5724W12XX

  • Reported release

    A22

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-04-27

  • Closed date

    2023-07-12

  • Last modified date

    2023-07-12

  • 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

    COGNOS ANALYTIC

  • Fixed component ID

    5724W12XX

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"Cognos Analytics"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A22","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
13 July 2023