IBM Support

IC74803: DB2PD -LOCK SHOWLOCK WAIT MAY NOT SHOW ALL LOCK OWNER.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When there are more than one lock owner and waiter, db2pd -lock
    showlock wait may not show some of the owner of the locks.
    
    For example, here is a case when there are two lock owners and
    waiters.
    db2pd -wlock shows two lock owners and two lock waiters as
    follows:
    Locks being waited on :
    AppHandl [nod-index] TranHdl ...  Type    Mode Conv Sts ...
    47       [000-00047] 16      ...  Row     ..X       G   ...
    51       [000-00051] 17      ...  Row     ..X       W   ...
    
    25       [000-00025] 2       ...  Row     ..X       G   ...
    47       [000-00047] 16      ...  Row     ..X       W   ...
    .
    However, db2pd -lock showlock wait only shows one owner:
    Locks:
    Address            TranHdl ...  Type Mode Sts Owner
    0x07000000405DE380 17      ...  Row  ..X  W   16   TbspaceID 2
    TableID 5 ...
    0x07000000405DE200 16      ...  Row  ..X  W   2    TbspaceID 2
    TableID 4 ...
    0x07000000405D6780 2       ...  Row  ..X  G   2    TbspaceID 2
    TableID 4 ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users using db2pd -lock showlock wait                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error description field for more information.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Version 9.7 FixPack 5.                            *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 UDB Version 9.7 FixPack 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC74803

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-03

  • Closed date

    2012-01-19

  • Last modified date

    2012-01-19

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

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

    IC74878

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC74803

Modified date: 19 January 2012