IBM Support

IT14675: OPTIMIZER ASSERT FAIL AND ERROR -874 WHEN REOPENING A CURSOR DEFINED WITH HOST VARIABLES THAT SELECTS FROM A VIEW WITH SUBQUERY

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

  • ENV : 12.10.FC8W1 on AIX
    
    There are two stacks being seen :
    
    (oninit)afstack
    (oninit)afhandler
    (oninit)affail_interface
    (oninit)mt_ex_throw_sig@AF11_4
    (oninit)afsig_handler
    (oninit)sqoptim
    (oninit)sqoptim
    (oninit)sqbind
    (oninit)sq_common_bind
    (oninit)sq_bind
    (oninit)sqmain
    
    and
    
    (oninit)remove_cblist
    (*nosymtab*)0x42000
    (oninit)sqoptim
    (oninit)exsubqm
    (oninit)subqcmp
    (oninit)ev_anyall
    (oninit)new_eval
    (oninit)gettupl
    (oninit)scan_next
    (oninit)join_next
    (oninit)join_next
    (oninit)join_next
    (oninit)join_next
    (oninit)join_next
    (oninit)join_next
    (oninit)join_next
    (oninit)filltemp
    (oninit)scan_open
    (oninit)IPRA.$materialize_viewtmp
    (oninit)IPRA.$materialize_viewtmp
    (oninit)IPRA.$materialize_viewtmp
    (oninit)IPRA.$materialize_viewtmp
    (oninit)materialize_viewtmp
    (oninit)prepselect
    (oninit)open_cursor
    (oninit)sql_open
    (oninit)sq_open
    (oninit)sqmain
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of 11.70.xC8W1                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query may trigger -874 error and assertion failure under   *
    * the following conditions:                                    *
    *  - query references a complex view, which is materialized    *
    * into a temp table during query execution                     *
    *  - query references a subquery in the form of "col IN        *
    * <subquery>" or "col = ANY <subquery>", where col references  *
    * a view column                                                *
    *  - query has a predicate that uses a host variable           *
    *  - a cursor defined on the query, and the cursor is closed   *
    * and reopened                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IBM Informix Server 11.70.xC9                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IBM Informix Server 11.70.xC9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT14675

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-06

  • Closed date

    2017-06-09

  • Last modified date

    2017-06-09

  • 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

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

Document Information

Modified date:
09 June 2017