IBM Support

IT26611: SQL901N ERROR MIGHT OCCUR WITH QUERIES CONTAINING UNIONS AND EXPRESSIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • SQL901N error might occur with queries containing unions and
    expressions
    
    Users might observe SQL901N error with reason "probe 030 in
    sqlkt_pack_tuple(), msg=cold=NULLABLE zvalue=NONULLS col(".)
    when running a query with the following characteristics:
    1. the query contains at least one UNION operation
    2. on at least one UNION branch, there is a full join or a union
    3. the select list from the full join or the union contains
    expressions
    
    
    This is an example of the stack seen in the trap file :
    <StackTrace>
    -------Frame------ ------Function + Offset------
    0x0900000000B83F14 pthread_kill + 0xD4
    0x090000000F4B3DC0 sqloDumpEDU + 0xC4
    0x090000000F4DD4A0 sqldDumpContext__FP9sqeBsuEduiN42PCcPvT2 +
    0x110
    0x090000000CF7A940 sqlrr_dump_ffdc__FP8sqlrr_cbiT2 + 0x96C
    0x090000000CF79E5C sqlzeDumpFFDC__FP8sqeAgentUiP5sqlcai + 0x28
    0x090000000D4DB1C8
    sqlzeMapZrc__FP8sqeAgentUiUlT2P5sqlcaiPC12sqlzeContextb + 0x3F8
    0x090000000C2B1598 sqlritqb__FP8sqlrr_cb + 0x308
    0x090000000D9BC53C sqlriSectInvoke__FP8sqlrr_cbP12sqlri_opparm +
    0xA4
    0x090000000E4AB6E4
    sqlrr_subagent_router__FP8sqeAgentP12SQLE_DB2RA_T + 0xC1A0
    0x090000000E464B24
    sqlrr_subagent_router__FP8sqeAgentP12SQLE_DB2RA_T + 0xD8C
    0x090000000E467D50 @82@sqleSubRequestRouter__FP8sqeAgentPUiPUl +
    0x230
    0x090000000E96E0A0 RunEDU__8sqeAgentFv + 0x33924
    0x090000000E9D5BC0 RunEDU__8sqeAgentFv + 0x120
    0x090000000D26C198 EDUDriver__9sqzEDUObjFv + 0x134
    0x090000000E1BA28C sqloEDUEntry + 0x390
    </StackTrace>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users are running queries containing unions and expressions. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 v11.1 or later versions.                      *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT26611

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-15

  • Closed date

    2022-01-28

  • Last modified date

    2022-01-28

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

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

    IT26617

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"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":"10.5"}]

Document Information

Modified date:
29 January 2022