IBM Support

PK30335: ADMIN TOOL ATTEMPTS TO USE SMART ALTER WHEN ADDING A COLUMN TO THE END OF A TABLE WITH AN EDITPROC

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A "SMART ALTER" can not be used to alter add a new columne to
    the end of a table using an EDITPROC:
    DSNT408I SQLCODE = -668, ERROR:  THE COLUMN CANNOT BE ADDED TO
    THE TABL
             BECAUSE THE TABLE HAS AN EDIT PROCEDURE
    DSNT418I SQLSTATE   = 56018 SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNXIAB3 SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD    = 130  0  0  -1  0  0 SQL DIAGNOSTIC
    INFORMATION
    

Local fix

  • Try replicate instead of insert to generate a batch job. The
    job should drop and recreate
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool,  who       *
    *                 attempt  to  insert  rows (alter table)      *
    *                 when the table had an edit proc defined,     *
    *                 may be affected.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: The  presence  of  an edit proc was not *
    *                      recognized  when  inserting rows into a *
    *                      table,  thus  SMART ALTER  was selected *
    *                      over drop.                              *
    *                      .*                                      *
    *                      When a  "SMART ALTER"  was attempted to *
    *                      add a new columne to the end of a table *
    *                      having an EDITPROC, an error occurred:  *
    *                      DSNT408I SQLCODE = -668,                *
    *                      ERROR:   THE COLUMN CANNOT BE ADDED TO  *
    *                          THE TABLE BECAUSE THE TABLE HAS AN  *
    *                          EDIT PROCEDURE                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • Apply the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK30335

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-08-22

  • Closed date

    2006-10-07

  • Last modified date

    2006-11-02

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

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

Modules/Macros

  •    ADB27C
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R510 PSY UK18618

       UP06/10/12 P F610

  • R710 PSY UK18619

       UP06/10/12 P F610

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

Document Information

Modified date:
02 November 2006