IBM Support

PK77192: MISSING SET CURRENT PATH FOR CREATE VIEW, CREATE TRIGGER AND CRE ATE TABLE ( MQT ).

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 does not insert a
    SET CURRENT PATH statement before a CREATE VIEW, CREATE TRIGGER
    or CREATE TABLE ( for a MQT ).
    
    Please note:
    Native Stored Procedures / NSP will not be addressed by this
    APAR.
    

Local fix

  • Manually add the SET CURRENT PATH
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: using views, triggers, or materialized       *
    *                 query tables.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: CREATE VIEW, CREATE TRIGGER, and CREATE *
    *                      TABLE  for a  materialized  query table *
    *                      statements can contain user defined the *
    *                      functions.Since a user-defined function *
    *                      resides in  the schema in  which it was *
    *                      registered,  the path definition should *
    *                      be  kept with  the SQL  statement  that *
    *                      might contain a function.               *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    SQL statement,  "SET CURRENT PATH"  is sometimes  missing before
    CREATE VIEW, CREATE TRIGGER, and CREATE TABLE for a materialized
    query table statements.
    

Problem conclusion

  • The problem has been fixed in Object Compare V7.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK77192

  • 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

    2008-12-09

  • Closed date

    2009-04-05

  • Last modified date

    2009-05-03

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

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

Modules/Macros

  •    GOC2CMP  GOC2CMS
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK45542

       UP09/04/10 P F904

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":"SSAUVH","label":"IBM Db2 Object Comparison 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:
12 February 2021