IBM Support

IC71315: NO RESULTS ARE RETURNED WITH A SELECT MAX() QUERY IF THE TABLE HAS A COMPOSITE INDEX WITH 'DESC' KEYWORD.

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

  • After upgrading from 11.50.xC5 to 11.50.xC7 you see that a
    "Select MAX() " query on a table with a composite index and a
    'DESC' (descending order) keyword that used to return results;
    now returns nothing.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of 11.50.xC7.                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query selecting MAX may return incorrect result if all of  *
    * the following conditions are met:                            *
    *  - query uses a composite index, e.g. index on tab(c1, c2    *
    * desc)                                                        *
    *  - a non-leading index column is defined in descending order *
    * (e.g. c2 above)                                              *
    *  - query select MAX(c2)                                      *
    *  - query has an equality predicate on c1, and a greater-than *
    * predicate on c2, e.g., c1 = 5 and c2 > 0                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.50.xC8.                                        *
    ****************************************************************
    

Problem conclusion

  • The problem is fixed in 11.50.xC8.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC71315

  • Reported component name

    IBM IDS ENTRP E

  • Reported component ID

    5724L2304

  • Reported release

    B15

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-19

  • Closed date

    2011-01-20

  • Last modified date

    2011-01-20

  • 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

    IBM IDS ENTRP E

  • Fixed component ID

    5724L2304

Applicable component levels

  • RB15 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B15","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 January 2011