IBM Support

IT26282: UPDATE ON FULL TABLE WHICH USES SUB_SELECT COULD INCORRECTLY SET VALUES TO NULL FOR COLUMN BEING UPDATED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Update using a sub-select on the full table could incorrectly
    set column value to NULL.
    Single row update is correct and is setting a proper value for
    the column.
    
    The problem only exists in  v11.
    
    example:
    
    update test1 t1 set col_a =  (select t2.col_a  from test2 t2
    where t1.col_a = t2.col_a)
    
    col_a  will be updated to NULL incorrectly.
    

Local fix

  • db2set DB2COMPOPT=NO_UPDATE_COMP
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Please, see Error Description and install this Fix: v11      *
    * Fixpak 4.                                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please, see Error Description and install this Fix: v11      *
    * Fixpak 4.                                                    *
    ****************************************************************
    

Problem conclusion

  • Please, see Error Description and install this Fix: v11 Fixpak
    4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT26282

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

  • Closed date

    2018-12-02

  • Last modified date

    2018-12-02

  • 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

[{"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:
02 December 2018