IBM Support

IT42103: -1266 FOR A COMBINATION OF DATE/INTERVAL AND INTEGER FILTERS

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

  • This simple test case reproduces an undue -1266 error:
    
    CREATE TABLE td (d date);
    CREATE INDEX tdi on td (d);
    SELECT * FROM td
    WHERE
     ( d < TODAY - 1 UNITS DAY OR d = TODAY)
    AND
       d < TODAY - 1 UNITS MONTH;
    
    Variants of this simplified demo statement will do as well.
    
    Conditions for hitting the problem, per some testing:
    - Index having column d in first position (if multiple columns)
    - Those interval expressions
    - An   ... AND ( ... OR ... ) filter with two different
    date/interval comparisons
    - Those two units (MONTH and DAY) can't be the same
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server to 12.10.xC16 and 14.10.FC9W1.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Server 12.10.xC16 (if available) or      *
    * 14.10.FC9W1.                                                 *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC16 and 14.10.FC9W1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT42103

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-20

  • Closed date

    2023-02-22

  • Last modified date

    2023-02-22

  • 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

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10"}]

Document Information

Modified date:
23 February 2023