IBM Support

PM98949: ALTER TABLE ADD PARTITION FAILS WITH A SQLCODE=-750 WHEN THE TABLE IS A MATERIALIZED QUERY TABLE (MQT).

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When add a new partition to a MQT, OC will report ALTER action
    for the change, and apply will fail with SQLCODE=-750:
    DSNT408I SQLCODE = -750, ERROR:  THE SOURCE TABLE
    >SCHEMA<.>MQT_TABLE_NAME< CANNOT BE RENAMED OR ALTERED
    AS SPECIFIED
    DSNT418I SQLSTATE   = 42986 SQLSTATE RETURN CODE
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool      *
    *                 for z/OS who include partitioned             *
    *                 Materialized Query Tables (MQT) in           *
    *                 the compare process.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: An 'ALTER TABLE ADD PARTITION'          *
    *                      statement is not allowed by DB2 for a   *
    *                      Materialized Query Table (MQT) but      *
    *                      was generated by DB2 Object Compare     *
    *                      causing a SQLCODE=-750 /                *
    *                      SQLCODEN750 during the APPLY:           *
    *                                                              *
    *                      DSNT408I SQLCODE = -750, ERROR:         *
    *                      THE SOURCE TABLE schema.tablename       *
    *                      CANNOT BE RENAMED OR ALTERED            *
    *                      AS SPECIFIED                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An ALTER TABLE ADD PARTITION statement was generated for a
    Materialized Query Table causing a SQLCODE=-750 / SQLCODEN750
    during the APPLY.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM98949

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-11

  • Closed date

    2014-01-14

  • Last modified date

    2014-02-05

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

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

    UI14213

Modules/Macros

  • ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA20 PSY UI14213

       UP14/01/16 P F401

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

Document Information

Modified date:
05 February 2014