IBM Support

PK38399: SQLCODEN601 AFTER ADBTEP2 ISSUED MESSAGE UNEXPECTED SQLCODE IN : LOCK ADBPART(1)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool program ADBTEP2 did not issue an
    appropriate return code after failing to lock the ADBPART table
    in exclusive mode. The program issued a message:
    UNEXPECTED SQLCODE IN : LOCK ADBPART(1)
    and the step ends RC=00.
    Since this caused a rollback the next step fails with a SQLCODE
    -601 as the DROP statements had not been committed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Admin Tool performing           *
    *                 operations that invoke ADBTEP2.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: If an operation is performed that calls *
    *                      the ADBTEP2, a deadlock  or  timeout is *
    *                      possible  when the  attempt  is made to *
    *                      obtain an exclusive lock on the ADBPART *
    *                      table  at  program termination. If such *
    *                      a  deadlock or  timeout does occur, the *
    *                      message  "UNEXPECTED  SQLCODE IN : LOCK *
    *                      ADBPART(1)"  will  be  issued,  with an *
    *                      SQLCODE of -911,and rollback performed. *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF.                               *
    ****************************************************************
    The lock is not needed at this point in ADBTEP2.
    

Problem conclusion

  • This particular lock request is eliminated.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK38399

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2007-01-30

  • Closed date

    2007-07-03

  • Last modified date

    2007-09-04

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

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

Modules/Macros

  •    ADBTEP2
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK26806

       UP07/08/09 P F708

  • R720 PSY UK26807

       UP07/08/10 P F708

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710"}]

Document Information

Modified date:
30 March 2021