IBM Support

PK66782: ALC LABEL ON VIEW MISSING AFTER DROP OF TABLE.

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 ALC command does not create the
    LABEL ON VIEW statement after a dependent table is dropped and
    created to add a column to the middle of the table.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: (1) Users of DB2 Admin Tool attempting to do *
    *                 an ALTER, with or without Change Management, *
    *                 which  affects objects with associated LABEL *
    *                 and/or COMMENT ddl.                          *
    *                 (2) Users of DB2 Admin Tool attempting to do *
    *                 an ALTER, with or without Change Management, *
    *                 of  a  table that  has been created using an *
    *                 "IN DATABASE" clause.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: (1)Altering a table with an associated  *
    *                         view  that has a LABEL or a COMMENT  *
    *                         results  in  the  LABEL  or COMMENT  *
    *                         being lost.                          *
    *                                                              *
    *                      (2)Altering  a  table  that   has  been *
    *                         created with an "IN DATABASE" clause *
    *                         results in  "SQLCODE = -637,  ERROR: *
    *                         DUPLICATE IN KEYWORD OR CLAUSE".     *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    (1)Some LABEL and COMMENT ddl was incorrectly suppressed in the
       process of ddl conversion.
    
    (2)Since DB2  Admin generates ddl  without an "IN database_name.
       tablespace_name"  for tables created in the default database,
       the ALTER  process  involving a new database name cannot find
       the existing name to change, so an  "IN . . ." clause must be
       added when  changing from  the  default  database  to another
       database.   Whether the addition of an "IN . . ."   clause is
       necessary   was  being  determined  by   searching   for  "IN
       database_name.   tablespace_name";  but if  a table  has been
       created with an  "IN DATABASE database_name" clause,   an "IN
       . . . " clause was mistakenly added.
    

Problem conclusion

  • (1)LABEL and COMMENT  ddl no longer suppressed in the process of
       ddl conversion.
    
    (2)An  "IN database_name.tablespace_name" is no  longer added if
       an "IN DATABASE database_name" clause is present.APAR closing
       text.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK66782

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-05-28

  • Closed date

    2008-08-15

  • Last modified date

    2008-09-03

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

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

Modules/Macros

  •    ADB27AC
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK38992

       UP08/08/30 P F808

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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 September 2008