IBM Support

PI93679: AFTER MULTIPLE ALTER TABLE ALTER PARTITION STATEMENTS, GEN/DDL ENDS WITH EMPTY PARTITION KEY AND MESSAGES ADB1664E,ADB1646E

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After executing the following several times, with different key
    values for the second key field below ('bbbbbbbbbbbbbbbb'):
    
    ALTER TABLE >schema<.>tablename<
    ALTER PARTITION nn ENDING AT ('aaaa', 'bbbbbbbbbbbbbbbb')
    
    DDL or GEN may display:
    
     PARTITION nn ENDING AT ()
    
    and the following messages may appear:
    
    ADB1664E An internal error occurred. Diagnostic
    text=ADB2REG.CREATE_AUX_TABLE(6
    Reason code = 4
    ADB1646E An error has occurred while generating DDL for an
    object.
    

Local fix

  • Run a reorg of tablespace.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who have applied APAR PI93566 / PTFs    *
    *                 UI55055/UI55056 and are using the Generate   *
    *                 (GEN) function.                              *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: After a table's partition key values    *
    *                      are altered several times, the output   *
    *                      a GEN/DDL command may show              *
    *                      the changed partitioned key value as    *
    *                      null.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    For DB2 V11, altering a table's partition key value does
    not take effect immediately. Rather, the altered table status
    is Advisory REORG-pending. If the the partition key value is
    altered several times, the output of GEN/DDL of the table
    may show the altered partition key value as null, and
    the following messages may appear:
    
    ADB1664E An internal error occurred. Diagnostic
    text=ADB2REG.CREATE_AUX_TABLE(6..)
    Reason code = 4
    ADB1646E An error has occurred while generating DDL for an
    object.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI93679

  • 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-02-12

  • Closed date

    2018-04-06

  • Last modified date

    2018-09-07

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

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

    UI55055 UI55056

Modules/Macros

  •    ADB2REG
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI55055

       UP18/04/10 P F804

  • RC10 PSY UI55056

       UP18/04/10 P F804

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:
07 September 2018