IBM Support

PI96777: DB2 ADMIN TOOL - CM BATCH INCORRECTLY GENERATES ALTER TABLE ADD COLUMN ON GTT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When importing an ALTER TABLE ADD COLUMN statement on a global
    temporary table, AOC applies the overwrite mask "RESTRICT ON
    DROP" even though it is not valid for a GTT. Execution of the
    ALTER returns:
       SQLCODE = -526, ERROR:  THE REQUESTED OPERATION OR USAGE DOES
                 NOT APPLY TO CREATED TEMPORARY TABLE table-name
    
    SQLCODEN526
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS or DB2 Object Comparison Tool for       *
    *                 z/OS.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: RESONDROP Mask causes a GTT             *
    *                      table to be altered to add RESTRICT     *
    *                      ON DROP attribute and that is not       *
    *                      valid in DB2.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When analyzing a change which alters a global temp table
    (GTT) with a RESONDROP YES mask, the ALTER TABLE
    RESTRICT ON DROP statement is added to the change
    incorrectly as GTT tables can not have RESTRICT ON DROP
    attribute.
    
    Run job will result in SQLCODE -526 / SQLCODEN526:
    
    DSNT408I SQLCODE = -526, ERROR: THE REQUESTED
      OPERATION OR USAGE DOES NOT APPLY TO
      CREATED TEMPORARY TABLE >gtt_tablename<.
    

Problem conclusion

  • The problem has been resolved by skipping RESONDROP
    masking for GTT tables. A new informational message will
    be issued:
    
    ADB3355I The overwrite mask RESONDROP is ignored
    because >tbname< is a global temporary table, and RESTRICT
    ON DROP is not allowed.
    Explanation: The use of masking was specified, and overwrite
    of RESTRICT ON DROP was specified but the object can not
    have this attribute because DB2 does not allow global temporary
    tables to have this attribute.
    System Action: Processing continues.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI96777

  • 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

    2018-04-17

  • Closed date

    2018-06-18

  • Last modified date

    2018-07-02

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

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

Modules/Macros

  •    ADB2MSK  ADB3000
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI56654

       UP18/06/22 P F806

  • RC10 PSY UI56655

       UP18/06/22 P F806

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:
02 July 2018