IBM Support

IT29786: SQL0901N: UNEXPECTED ERROR AT QUERYINFOCONTAINER.HPP:395

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

  • A SQL query including a stored procedure call can return the
    following error:
    
    SQL0901N The SQL statement or command failed because of a
    database system
    error. (Reason "unexpected error at
    QueryInfoContainer.hpp:395".)
    SQLSTATE=58004"
    
    In the db2diag.log you may see a message like this as well:
    
    2019-06-03-11.34.37.648739-240 I8375A3247           LEVEL: Error
    PID     : 7208996              TID : 61422          PROC :
    db2sysc 0
    INSTANCE: abcdefgh             NODE : 000           DB   : XYZ
    APPHDL  : 0-42512              APPID: *LOCAL.123456.190603150808
    AUTHID  : ABCDEFGH             HOSTNAME: 123456
    EDUID   : 61422                EDUNAME: db2agntcol (IFDWATT1) 0
    FUNCTION: DB2 UDB, CDE Trace, cdeDiagnosticsFacility, probe:395
    DATA #1 : String, 242 bytes
    AssertionFailedException: An assertion
    'mCseTempMap.find(cseTempName) == mCseTempMap.end()' failed.
    Additional info: CSE temp TEMP0 already exists
    Thrown at
    /view/db2_v111m3if1_aix64_s1804271300/vbs/engn/cde/query/QueryIn
    foContainer.hpp : 395
    DATA #2 : Function name in Library, 74 bytes
    ibm_cde::query::CommonStmtInfo::addCseTemp(cde_string &,
    SpillableStore *)
    DATA #3 : File name, 79 bytes
    /view/db2_v111m3if1_aix64_s1804271300/vbs/engn/cde/query/QueryIn
    foContainer.hpp
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 4 Fixpack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29786

  • 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

    2019-07-19

  • Closed date

    2020-01-16

  • Last modified date

    2020-01-16

  • 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

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

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

Document Information

Modified date:
16 January 2020