IBM Support

IT24041: WRONG RESULTS OR SQL901N ERROR POSSIBLE WHEN EXECUTING SQL STATEMENT WITH SCALAR SUBQUERY ON COLUMN ORGANIZED TABLES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Wrong results are possible when executing a SQL statement that
    1. references column organized tables,
    2. contains a scalar subquery, and
    3. the scalar subquery is referenced in an outer join or as part
    of a NOT IN or NOT EXISTS predicate
    
    A SQL901N error is also possible when executing a SQL statement
    that
    1. references column organized tables,
    2. contains a scalar subquery, and
    3. contains a GROUP BY ROLLUP clause
    
    The SQL0901N error will include the reason:  "unexpected error
    at Parser.cpp"
    
    This can only happen in  V11.1 Fixpak 1 and up.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 LUW                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to the latest fix pack                               *
    ****************************************************************
    

Problem conclusion

  • Problem is first fixed in DB2 V11.1 mode pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT24041

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-02-12

  • Closed date

    2018-03-15

  • Last modified date

    2018-03-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 March 2018