Skip to main content

PM76176: DB2 OBJECT COMPARISON TOOL FOR Z/OS RETURNS SQLCODE -148 WHEN CLONE EXISTS ON TABLE WITH RESTRICT ON DROP IS BEING ALTERED


A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 Object Comparison Tool for z/OS returns SQLCODE -148 when
    CLONE table
    defined on TABLE with RESTRICT ON DROP that is being ALTERed
    (SQLCODEN148)
    .
    DSNT408I SQLCODE = -148, ERROR:  THE SOURCE TABLE
    TSTT.TESTCLON_MQT CANNOT BE
             ALTERED. REASON 11
    DSNT418I SQLSTATE   = 42809 SQLSTATE RETURN CODE
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who compare tables which have RESTRICT  *
    *                 ON DROP and CLONE tables defined.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool for      *
    *                      z/OS generated an APPLY job or Work     *
    *                      Statement List (WSL) which when         *
    *                      executed returns a SQLCODE= -148 /      *
    *                      SQLCODEN148 when a referenced CLONE     *
    *                      table is defined on a base table        *
    *                      with the RESTRICT ON DROP attribute     *
    *                      and the base table is being ALTERed     *
    *                      to drop the RESTRICT ON DROP            *
    *                      attribute.                              *
    *                                                              *
    *                      ALTER TABLE >tbschema<.>tbname<         *
    *                      DROP RESTRICT ON DROP                   *
    *                      statement fails with following error:   *
    *                                                              *
    *                      DSNT408I SQLCODE = -148, ERROR:         *
    *                      THE SOURCE TABLE                        *
    *                      >tbschema<.>tbname< CANNOT              *
    *                      BE ALTERED. REASON 11                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool for z/OS generated an APPLY job
    or Work Statement List (WSL) which when executed returns a
    SQLCODE= -148 / SQLCODEN148 when a referenced CLONE table is
    defined on a base table with the RESTRICT ON DROP attribute
    and the base table is being ALTERed to drop the RESTRICT ON
    DROP attribute.
    
    ALTER TABLE >tbschema<.>tbname<
    DROP RESTRICT ON DROP
    statement fails with following error:
    
    DSNT408I SQLCODE = -148, ERROR:
    THE SOURCE TABLE >tbschema<.>tbname< CANNOT
    BE ALTERED. REASON 11
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM76176

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-30

  • Closed date

    2013-02-05

  • Last modified date

    2013-03-04

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

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

    UK91427 UK91428

Modules/Macros

  •    ADB2CMR  ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK91427

       UP13/02/08 P F302

  • RA20 PSY UK91428

       UP13/02/08 P F302

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.

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

DB2 Tools for z/OS

DB2 Administration Tool


Software version:
10.1.0


Reference #:
PM76176


Modified date:
2013-03-04

Translate my page

Content navigation