IBM Support

PH22020: RUN JOB ZPARM DDL_MATERIALIZATION ALWAYS_PENDING ALTER SET DATA TYPE ALTER ADD COLUMN SQLCODE = -20385

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When ZPARM DDL_MATERIALIZATION is set to ALWAYS_PENDING, and a
    change includes an ALTER SET DATA TYPE and an ALTER ADD COLUMN,
    the run job does not include a REORG between them.  As a result,
    when the ALTER SET DATA TYPE statement is executed, and the
    table is placed in AREOR (Advisory REORG Pending) status, the
    ALTER ADD COLUMN statement fails with the following error:
    
    DSNT408I SQLCODE = -20385, ERROR:  THE STATEMENT CANNOT BE
    PROCESSED BECAUSE THERE ARE PENDING DEFINITION CHANGES FOR
    OBJECT >tablename< OF TYPE  TABLESPACE (REASON 2)
    
    
    Keywords:  ADB7955E;ADBTEP2;SQLCODEN610;SQLCODEN20385; SQLCODE =
     610
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool for      *
    *                 Z/OS who perform compare to generate         *
    *                 multiple alters to a Tablespace when         *
    *                 using the ZPARM DDL_MATERIALIZATION.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: When the user sets the ZPARM            *
    *                      setting DDL_MATERIALIZATION to          *
    *                      ALWAYS_PENDING, a missing reorg         *
    *                      between ALTERs causes the job to fail,  *
    *                      as the Tablespace is left in REORG      *
    *                      Pending state.                          *
    ****************************************************************
    When the user sets the ZPARM setting DDL_MATERIALIZATION
    to ALWAYS_PENDING, and a change includes both setting a new
    data type and adding a column, the job requires a REORG
    between the 2 alters. Without this REORG, the run job fails with
    the following error:
    
    DSNT408I SQLCODE = -20385, ERROR: THE STATEMENT
    CANNOT BE PROCESSED BECAUSE THERE ARE PENDING
    DEFINITION CHANGES FOR OBJECT >tablename< OF TYPE
    TABLESPACE (REASON 2)
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH22020

  • 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

    2020-02-11

  • Closed date

    2020-06-25

  • Last modified date

    2020-07-06

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

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

    UI70259

Modules/Macros

  • ADB2CDC  ADB2CM1  ADB2CM2  ADB2CM3  ADB2CME  ADB2CMF  ADB2CMO
    ADB2CMP  ADB2CMR  ADB2CMS  ADB2CMT  ADB2CMU  ADB2DEP  ADB2MSK
    ADB2RE   ADB2REE  ADB2REG  ADB2REH  ADB2REM  ADB2REP  ADB2RER
    ADB2RES  ADB2RET  ADB2REU  ADB2REY  ADB2REZ  ADB2RGC  ADB2RPT
    ADB2WCL  ADBALT   ADBCCM   ADBCCME  ADBCCMM  ADBCDTS  ADBCP
    ADBCVCT  ADBCVEY  ADBCVIC  ADBCVOC  ADBVFC   ADBVFCA  ADBVFCF
    ADBVVFG
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI70259

       UP20/06/27 P F006

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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021