IBM Support

PH01056: GEN SETS INCORRECT SQLID AND SCHEMA VALUES FOR MQT.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GEN sets incorrect SQLID and SCHEMA values for MQT.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool         *
    *                 for z/OS who use DDL/GEN on MQT              *
    *                 (Materialized Query Table).                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Wrong DDL is generated for MQT when     *
    *                      sqlid and schema of the MQT are in      *
    *                      conflict.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The conditions for when AD2REG includes the phrase 'SET CURRENT
    SCHEMA AS' and for when ADB2REG qualifies the objects in the
    DDL are incorrectly set.
    

Problem conclusion

  • Problem has been resolved.
    
    Set the schema as the defined schema if given.
    
    When the current schema is set to something that is not
    the environment schema, then you would need to re-specify
    the schema in the DDL.
    
    Qualify the MQT only if neither of the set sqlid and schema
    statements are there.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH01056

  • 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-07-31

  • Closed date

    2018-12-11

  • Last modified date

    2019-01-02

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

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

Modules/Macros

  •    ADB2CMT  ADB2CM3  ADB2REG  ADB28M
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI60203

       UP18/12/14 P F812

  • RC10 PSY UI60204

       UP18/12/14 P F812

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 January 2019