IBM Support

PM91277: cast_varchar returns SQL0604N after upgrade

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible.

Error description

  • Former working reports containing cast_varchar against DB2
    return the following error message when run in 10.2:
    ??RQP-DEF-0177 An error occurred while performing operation
    'sqlPrepareWithOptions' status='-9'.?   ??Details UDA-SQL-0107 A
    general exception has occurred during the operation
    "prepare".[IBM][CLI Driver][DB2/NT64] SQL0604N The length,
    precision, or scale attribute for column, distinct type,
    structured type, array type, attribute of structured type,
    routine, cast target type, type mapping, or global variable
    "VARCHAR" is not valid. SQLSTATE=42611??In former version Cognos
    performed cast_varchar locally or used a fixed length of 200
    when sent to DB2.
    

Local fix

Problem summary

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

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM91277

  • Reported component name

    COG REPORT STUD

  • Reported component ID

    5724W12RS

  • Reported release

    A20

  • Status

    CLOSED UR3

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-18

  • Closed date

    2013-09-10

  • Last modified date

    2013-09-10

  • 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 REPORT STUD

  • Fixed component ID

    5724W12RS

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

Document Information

Modified date:
10 September 2013