IBM Support

IT21449: DB2 MAY RETURN -901 OR ABEND DURING UPDATE/DELETE CONTAINING A SUBSELECT AND NON-COLLOCATED TABLES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When performing an UPDATE/DELETE that matches the following
    criteria, DB2 may
    return a -901 or abend:
    - The target table of the UPDATE/DELETE is a columnar table.
    - The UPDATE/DELETE contains a subselect.
    - The target and source tables of the UPDATE/DELETE are not
    collocated
    (not located on the same partitioning nodes).
    
    The -901 error returned is the following:
    
    SQL0901N  The SQL statement or command failed because of a
    database
    system error. (Reason "sqlnt_add_upd_set_clause  [500]:rc(0)
    ".)
    SQLSTATE=58004
    
    
    The following is an example of the stack trace:
    
    sqlnn_cmpl[380]
    sqlno_exe[2020]
    sqlno_final_phase[150]
    sqlnt_main[140]
    sqlnt_walk_[326]
    sqlnt_walk_remote[572]
    sqlnt_translate_return[7280]
    sqlnt_translate::dispatch_[939]
    sqlnt_translate_pipe[6949]
    sqlnt_translate::dispatch_[934]
    sqlnt_translate_mate[4836]
    sqlnt_translate::dispatch_[944]
    sqlnt_translate_update[1954]
    sqlnt_add_upd_set_clause[3786]
    sqlnt_add_upd_set_clause[500]
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 3 Fix Pack 3 or higher               *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 3 Fix Pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT21449

  • 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

    2017-07-14

  • Closed date

    2018-03-19

  • Last modified date

    2018-03-19

  • 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:
19 March 2018