IBM Support

PK63360: USING OC, GRANTS ARE GENERATED PRIOR TO MQT TABLE CREATION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Object Comparison Tool, when an MQT is created,
    grants ddl are generated prior to the table creation resulting
    in sqlcode -204
    Additional Symptoms: sqlcoden204 sqlcode204
    

Local fix

  • Move the Grants DDL after MQT create
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Object Compare V7.2 with GRANTs     *
    *                 for a materialized query table preceding     *
    *                 the MQT's creation.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Object Compare sometimes  buffers DDL   *
    *                      statements in  the reverse order. The   *
    *                      CREATE DDL was produced  and then the   *
    *                      GRANT DDL.  The output process  moved   *
    *                      the DDL to the CHANGES file  as GRANT   *
    *                      DDL and  then  CREATE DDL.   This was   *
    *                      corrected by flushing the CREATED DDL   *
    *                      before adding the GRANT DDL to the      *
    *                      buffer.                                 *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    Object Compare was changed to output the MQT CREATE before the
    MQT GRANTs.
    

Problem conclusion

  • The problem has been fixed in Object Compare V7.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK63360

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-03-26

  • Closed date

    2008-10-08

  • Last modified date

    2008-11-04

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

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

    UK40599

Modules/Macros

  •    GOC2CMR
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK40599

       UP08/10/16 P F810

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":"SSAUVH","label":"IBM Db2 Object Comparison Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021