IBM Support

PM22155: GEN / DDL OF VIEW HAS INCORRECT OWNER FFA10 PM27184.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS GEN and DDL commands create
    incorrect DDL for a VIEW defined as:
      SET CURRENT SQLID = 'TBCREATOR';
      CREATE TABLE T3(COL1 CHAR(10));
      SET CURRENT SQLID = 'VWCREATOR';
      CREATE SYNONYM T3 FOR TBCREATOR.T3;
      CREATE VIEW  T3V (COL1) AS (SELECT COL1 FROM T3);
    with the output showing:
     --    View=VWCREATOR.T3V
      SET CURRENT SQLID='VWCREATOR';
      CREATE VIEW TBCREATOR.T3V(COL1) AS (
                  SELECT COL1
                    FROM T3) ;
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS who define views with an            *
    *                 unqualified view name.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Administration Tool for         *
    *                      z/OS GEN and DDL commands               *
    *                      create incorrect DDL for a VIEW         *
    *                      defined as:                             *
    *                                                              *
    *                      SET CURRENT SQLID = 'TBCREATOR';        *
    *                      CREATE TABLE T3(COL1 CHAR(10));         *
    *                      SET CURRENT SQLID = 'VWCREATOR';        *
    *                      CREATE SYNONYM T3 FOR TBCREATOR.T3;     *
    *                      CREATE VIEW  T3V (COL1)                 *
    *                        AS (SELECT COL1 FROM T3);             *
    *                                                              *
    *                      with the output showing:                *
    *                                                              *
    *                      --    View=VWCREATOR.T3V                *
    *                        SET CURRENT SQLID='VWCREATOR';        *
    *                        CREATE VIEW TBCREATOR.T3V(COL1)       *
    *                               AS (                           *
    *                                    SELECT COL1               *
    *                                    FROM T3) ;                *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    The wrong view qualifier is generated when using the
    DDL or GEN commands to generate a view that was
    defined with an unqualified view name.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM22155

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-08

  • Closed date

    2010-12-29

  • Last modified date

    2011-02-06

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

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

    UK63554

Modules/Macros

  •    ADB2REM
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK63554

       UP11/01/07 P F101

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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 February 2011