IBM Support

PI47382: DSNKNXT2 TOOK X-COMMIT LOCK ON NON-QUALIFIED ROWS FOR ISOLATION(CS)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DSNKNXT2 took x-commit lock on non-qualified rows for
    islation(CS) and performance would be affected only for
    static sql.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 for z/OS users for UPDATE,        *
    *                 DELETE, and MERGE statement when INDEX       *
    *                 ACCESS is chosen for the target table.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: X-COMMIT lock on non-qualified rows may *
    *                      be obtained for ISO(CS) for UPDATE,     *
    *                      DELETE or MERGE statement when index    *
    *                      access is chosen on target table.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    X-COMMIT lock on non-qualified rows may be obtained for ISO(CS)
    for UPDATE, DELETE or MERGE statement when index access is
    chosen on target table
    
    An example for error case is shown below:
    
    
       CREATE TEABLE T1(C1 INT, C2 INT);
       CREATE INDEX I1 ON T1(C1);
    
       UPDATE T1
       SET C1=1, C2 =1
       WHERE C1>0 AND C2+1>0;
    
       INDEX access is chosen on T1
    

Problem conclusion

  • The bindtime code in DB2 is modified to correct the conditions
    leading to the ABEND.
    
    Additional Keywords: SQLINDEX SQLLOCK SQLUPDATE SQLDELETE
                         SQLMERGE
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI47382

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-08-21

  • Closed date

    2016-02-29

  • Last modified date

    2016-04-05

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

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

    UI35748 UI35749

Modules/Macros

  • DSNXOMS
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI35748

       UP16/03/15 P F603

  • RB10 PSY UI35749

       UP16/03/15 P F603

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 April 2016