IBM Support

PI87289: CREATE ALIAS WITH EXPLICIT SCHEMA QUALIFIER FOR THE ALIAS AND UNQUALIFIED TABLE NAME, OWNER IS NOT SET CORRECTLY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CREATE ALIAS with explicit SCHEMA qualifier for the alias and
    unqualified table name, the authorization ID (CURRENT SQLID)
    became the alias OWNER. The OWNER should be the explicit SCHEMA
    qualifier.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 11 and 12 for z/OS users of                          *
    * CREATE ALIAS FOR TABLE.                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * CREATE ALIAS FOR TABLE incorrectly                           *
    * sets the alias OWNER when                                    *
    * specifying an explicit schema                                *
    * qualifier for the alias name and                             *
    * an unqualified table name.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available.                         *
    ****************************************************************
    When executing CREATE ALIAS FOR TABLE with an explicit schema
    qualifier for the alias name and an unqualified table name, the
    alias OWNER of SYSIBM.SYSTABLES is incorrectly set to the
    current SQL ID.
    

Problem conclusion

  • DB2 has been modified to correctly set the alias OWNER to the
    same explicit schema name.
    
    This APAR does not resolve incorrect alias ownership created
    prior to applying this APAR. Dropping and recreating affected
    aliases is required to correct ownership.
    
    There are no functional problems as a result of an incorrect
    owner on an alias.
    
    ADDITIONAL KEYWORDS:
    SQLCREATE
    SQLALIAS
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI87289

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-09-14

  • Closed date

    2017-11-21

  • Last modified date

    2018-01-03

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

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

    UI52047 UI52048

Modules/Macros

  • DSNXODDL DSNXODD2 DSNXICAL
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI52047

       UP17/12/06 P F712

  • RB10 PSY UI52048

       UP17/12/06 P F712

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":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 January 2018