IBM Support

JR36853: GET INCORRECT REASON CODE WHEN CREATE REPLICATION TOOL MAINTAINED MQT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When create a replication tool maintained mqt, if there is base
    table in the select clause, we'll get -20058 error. But the
    reason code "6" to explain the root cause is incorrect.
    
    for example, we try to create a mqt like below:
    
    create table mqt as (select * from TAB) data initially deferred
    refresh deferred maintained by federated_tool
    DB21034E  The command was processed as an SQL statement because
    it was not a
    valid Command Line Processor command.  During SQL processing it
    returned:
    SQL20058N  The fullselect specified for the materialized query
    table
    "IIDEV22.MQT" is not valid. Reason code = "6".  SQLSTATE=428EC
    
    In this statement, "TAB" is base table, but specified the
    "FEDERATED_TOOL" maintance type. -20058 error occurs because
    only nicknames can be used in the full select. But the reason
    code "6" is to explain "REFRESH IMMEDIATE MQT" clause.
    

Local fix

  • No
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Customer may hit this problem when create MQT                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When create a replication tool maintained mqt, if there is   *
    * base table in the select clause, we'll get -20058 error. But *
    * the reason code "6" to explain the root cause is incorrect.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.5.0.7                               *
    ****************************************************************
    

Problem conclusion

  • This problem has been fixed in DB2 v9.5.0.7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR36853

  • Reported component name

    FEDERATION SERV

  • Reported component ID

    5724N9700

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-12

  • Closed date

    2010-10-12

  • Last modified date

    2010-10-12

  • 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

    FEDERATION SERV

  • Fixed component ID

    5724N9700

Applicable component levels

  • R950 PSN

       UP

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCAVPY","label":"General Issues"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 October 2010