IBM Support

IC62780: INSTANCE MAY ABEND DURING COMPILATION OF A QUERY CONTAINING IMPL ICITLY EQUIVALENT COLUMNS AND A PREDICATE WITH AN EMPTY STRING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A query being compiled that has a local predicate (LOCPRD) with
    an empty string literal, i.e., '', may cause the instance to
    abend if the following conditions are satisfied:
    
    1) The column (COMPCOL) in LOCPRD is equivalent to another
    column (OTHCOL), e.g., via a join
    2) OTHCOL is also involved in a local predicate (OTHLOCPRD)
    3) LOCPRD is either an equi-join or non-equi-join predicate
    4) OTHLOCPRD is an equi-join predicate
    5) OTHCOL and COMPCOL are both string-type columns
    
    The stack trace from such an abend will look something like:
    
    sqlrxcp1
    sqlnr_seldel_test
    sqlnr_upddelpd_cond
    sqlnr_seq
    sqlnr_rcc
    sqlnr_magic_detail_action
    ...
    

Local fix

  • Manually rewrite the query by adjusting the empty strings in
    the2 predicates involved to have the same length as the columns
     they are being compared against using spaces, e.g.,
    VARCHAR_4_COL = ''
    can be safely adjusted to:
    VARCHAR_4_COL = '    '
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.5 Fix Pack 6 or later.              *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.5 Fix Pack 6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC62780

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-08-27

  • Closed date

    2010-05-25

  • Last modified date

    2010-05-25

  • APAR is sysrouted FROM one or more of the following:

    IZ59120

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 May 2010