IBM Support

IC88499: DB2 CAN RETURN A SQL0901N ERROR WITH REASON "SQLNO_ITR_PLAN::NEXT [300]:RC( 0)"

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • On rare occasions, when compiling a query, DB2 can return the
    following SQL0901N error:
    
    SQL0901N  The SQL statement failed because of a non-severe
    system error.
    Subsequent SQL statements can be processed.  (Reason
    "sqlno_itr_plan::next
    [300]:rc(     0)                ".)  SQLSTATE=58004
    
    
    When the SQL0901N occurred, you can also observe an entry
    similar to the following in db2diag.log:
    
    2012-10-29-03.21.01.792075-240 E1747E4958          LEVEL: Error
    PID     : 361                  TID  : 47125681400128PROC :
    db2sysc 0
    INSTANCE: db2inst1             NODE : 000          DB   : SAMPLE
    APPHDL  : 0-34179              APPID:
    169.81.40.31.29706.121029072101
    AUTHID  : DB2INST1
    EDUID   : 1771                 EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, SW- optimizer, sqlno_plan_compare, probe:220
    MESSAGE : Winning plan still needs GLUE
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM DB2 version 9.7 Fix Pack 8                    *
    ****************************************************************
    

Problem conclusion

  • Problem is first fixed in DB2 v9.7 Fix Pack 8.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88499

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-22

  • Closed date

    2013-04-01

  • Last modified date

    2013-04-01

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

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

    IC91291

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • R980 PSN

       UP

  • RA10 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC88499

Modified date: 01 April 2013