PK58696: CONCURRENT TRANSACTIONS AND INCORRECT FETCH

A fix is available

 

APAR status

  • Closed as program error.

Error description

  • The same transaction was running concurrently on 2 data sharing
    members. The SQL was of the type:
    SELECT aaaaaa, bbbbbb FROM table
    WHERE cccccc = 'xxxxxxxxxxxxxxxx'
    AND aaaaaa = '001'
    AND bbbbbb = 'd' FOR UPDATE
    The second transaction FETCHed the row, when the first
    transaction had already UPDATEd it, so that bbbbbb = 'e' and the
    WHERE clause was therefore not satisfied.

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 users *
    ****************************************************************
    * PROBLEM DESCRIPTION: Updates to a row occurred when the row *
    * no longer qualified to be updated. *
    ****************************************************************
    * RECOMMENDATION: *
    ****************************************************************
    Concurrent tasks selected rows for update. One task changed a
    key column that was being selected by another task. The second
    task continued to update that same row when it no longer
    qualified. The key compare routine incorrectly compared the data
    if no decimal column existed in the key.

Problem conclusion

  • DSNIKESR is changed to correctly return key compare status.

Temporary fix

  • *********
    * HIPER *
    *********

Comments

APAR Information

  • APAR number

    PK58696

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-28

  • Closed date

    2008-01-16

  • Last modified date

    2008-02-02

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

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

    UK33016 UK33017

Modules/Macros
DSNIKESR          

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • R810 PSY UK33016

       UP08/02/01 P F801

  • R910 PSY UK33017

       UP08/02/01 P F801

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.

Document information


More support for:

DB2 for z/OS

Software version:

810

Reference #:

PK58696

Modified date:

2008-02-02

Translate my page

Content navigation