IBM Support

IT30256: SQL0901N MAY BE RETURNED FOR QUERIES WITH UNION REFERENCING NODENUMBER/DBPARTITIONNUM FUNCTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A query may return SQL0901N when the following conditions are
    satisfied:
    
    1.  The query involves a UNION (could also be via view with
    UNION or full outer join, EXCEPT or INTERCEPT which the compiler
    will generate a UNION for), and
    
    2.  At least one branch below the UNION applies a NODENUMBER or
    DBPARTITIONNUM function
    
    The following is the error stack when the SQL0901N is returned:
    sqlnn_cmpl[380]
    sqlno_exe[900]
    sqlno_planning_phase[200]
    sqlno_planning_scan[400]
    sqlno_scan_utils_qgm[200]
    sqlno_each_qur[400]
    sqlno_top_qtb[100]
    ...
    sqlno_walk_qun[100]
    sqlno_each_opr[1200]
    sqlno_plan_end_opr[1700]
    sqlno_crule_mate[100]
    sqlno_itr_plan::next[300]
    
    SQL0901N  The SQL statement or command failed because of a
    database system
    error. (Reason "sqlno_itr_plan::next      [300]:rc(-2144272209)
    No plan found.
    ".)  SQLSTATE=58004
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 11.1 Modification 4 FixPack 5 or      *
    * later                                                        *
    ****************************************************************
    

Problem conclusion

  • Fixed in DB2 Version 11.1 Modification 4 FixPack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30256

  • 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-09-12

  • Closed date

    2020-02-26

  • Last modified date

    2020-02-26

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

    IT19243

  • 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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022