IBM Support

PI91310: DB2 ADMIN TOOL - MIG JOB ADBMGT1 RESULTS IN SQLCODE -672 DUE TO MISSING ALTER TABLE ... DROP RESTRICT ON DROP STATEMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When table object has "WITH RESTRICT ON DROP" clause and the
    following MIG option is used:
      DROP on target before CREATE . . . YES
    
    MIG job ADBMGT1 results in -672 due to it not generating the
    ALTER TABLE ... DROP RESTRICT ON DROP statement.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: MIG job ADBMGT1 results in              *
    *                      SQLCODE = -672 due to missing           *
    *                      ALTER TABLE ... DROP RESTRICT           *
    *                      ON DROP statement.                      *
    *                                                              *
    *                      SQLCODEN672                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When table object has "WITH RESTRICT ON DROP"
    clause and the MIG option "DROP on target before
    CREATE . . . YES" is used, MIG job ADBMGT1 results
    in the following SQLCODE error due to it not generating
    the ALTER TABLE ... DROP RESTRICT ON DROP
    statement:
    
    DSNT408I SQLCODE = -672, ERROR: OPERATION
    DROP NOT ALLOWED ON TABLE >schema<.>tb<
    DSNT418I SQLSTATE = 55035
    SQLSTATE RETURN CODE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI91310

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-11

  • Closed date

    2018-01-17

  • Last modified date

    2018-02-01

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

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

    UI53278 UI53279

Modules/Macros

  •    ADB27SP  ADB28M   ADB28M2
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI53278

       UP18/01/19 P F801

  • RC10 PSY UI53279

       UP18/01/19 P F801

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

Document Information

Modified date:
01 February 2018