IBM Support

PH00924: CM BATCH OBJECT COMPARE ADVISORY REORG ALTER SQLCODE -20385 BUFFERPOOL INDEX TABLE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If CM Batch or Object Compare generates the following
    change records in a WSL:
    ALTER INDEX >indexname< BUFFERPOOL BP16K2 ;
    ALTER TABLE >tablename< ADD RESTRICT ON DROP ;
    the ALTER INDEX statement will put the tablespace
    into a pending state. Because of this state,
    the ALTER TABLE ADD RESTRICT ON DROP will fail:
    DSNT408I SQLCODE = -20385, ERROR: THE STATEMENT CANNOT BE
             PROCESSED BECAUSE THERE ARE PENDING DEFINITION
             CHANGES FOR OBJECT >tablespace name< OF TYPE
             TABLESPACE (REASON 2)
    SQLCODE -20385 / SQLCODEN20385
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS who use Change Management, and users    *
    *                 of the Db2 Object Comparison Tool.           *
    ****************************************************************
    * PROBLEM DESCRIPTION: If CM Batch or Object Compare,          *
    *                      creates a change to an index buffer-    *
    *                      pool followed by a ALTER to the         *
    *                      associated table, execution             *
    *                      of the ALTER TABLE statement may        *
    *                      result in SQLCODE = -20385 /            *
    *                      SQLCODEN20385.                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If CM Batch or Object Compare generates the following
    change records in the WSL:
    
    ALTER INDEX >indexname< BUFFERPOOL BP16K2 ;
    ALTER TABLE >tablename< ADD RESTRICT ON DROP ;
    
    the ALTER INDEX statement will put the tablespace
    into a pending state. Because of this state,
    the ALTER TABLE ADD RESTRICT ON DROP will fail:
    
    DSNT408I SQLCODE = -20385, ERROR: THE STATEMENT CANNOT BE
              PROCESSED BECAUSE THERE ARE PENDING DEFINITION
              CHANGES FOR OBJECT >tablespace name< OF TYPE
              TABLESPACE (REASON 2)
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH00924

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-07-27

  • Closed date

    2018-10-05

  • Last modified date

    2018-11-01

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

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

Modules/Macros

  •    ADB2CME  ADB2CMF  ADB2CMP  ADB2CMT  ADB2CMU
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI58928

       UP18/10/12 P F810

  • RC10 PSY UI58929

       UP18/10/12 P F810

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":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 November 2018