IBM Support

IT17549: FODC/TRAP WHEN RUNNING SOME KIND OF QUERY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • FODC/TRAP with following sql
    
    a query is run that contains:
    - at least 2 predicates against a range partitioned table OR a
    predicate and a join on the range partitioned table both on the
    same column
    - One of the predicates is of the form "columnName LIKE 'value'"
      (i.e. the LIKE keyword is used)
    - the column for the predicate is the range column in the
    partitioned table.
    - there is an index on the range column.
    
    problem can be recreated like
    
    create table rangetable (rangecolumn char(10) not null with
    default ' ')
          partition by range (rangecolumn)
              (part "part1" starting('100'),
               part "part2" starting('101') ending(maxvalue));
    
    alter table rangetable add primary key (rangecolumn);
    
    select rangecolumn
    from rangetable
    where rangecolumn like ? and
         (substr(rangecolumn,5,2) = '99' or
          substr(rangecolumn,5,2) = '13');
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 11.1 Mod 2 Fix Pack 2 or higher               *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 11.1 Mod 2 Fix Pack 2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT17549

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-17

  • Closed date

    2017-06-23

  • Last modified date

    2017-06-23

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

    IT17497

  • 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

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
29 June 2020