IBM Support

IC70489: REFRESH OF MQT ON VIEWS RETURN SQL0204N ON UPGRADED DATABASE IF BASE VIEWS CALL COALESCE OR VALUE FUNCTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • REFRESH TABLE of some MQTs may return SQL204N after upgrading to
    DB2 V9.7.  This will happen only if the MQT explicitly or
    implicitly references a view that contains a COALESCE or VALUE
    function.
    

Local fix

  • 1) For databases that have not been upgraded, upgrading these
    databases using a fix pack containing this fix will avoid this
    issue.
    2) Databases that have already been upgraded to v97.GA through
    v97 FP2 may encounter this issue.  Dropping and recreating the
    MQT will fix the issue.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users performing REFRESH TABLE of MQTs may after upgrading   *
    * to DB2 V9.7.                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * REFRESH OF MQT ON VIEWS RETURN SQL0204N ON UPGRADED DATABASE *
    * IF                                                           *
    * BASE VIEWS CALL COALESCE OR VALUE FUNCTION                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 V97 FP3                                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 V97 FP3
    

Temporary fix

  • 1) For databases that have not been upgraded, upgrading these
    databases using a fix pack containing this fix will avoid this
    issue.
    2) Databases that have already been upgraded to v97.GA through
    v97 FP2 may encounter this issue.  Dropping and recreating the
    MQT will fix the issue.
    

Comments

APAR Information

  • APAR number

    IC70489

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-08-11

  • Closed date

    2010-09-24

  • Last modified date

    2010-09-24

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 September 2010