IBM Support

PM37400: WRONG SET CURRENT SCHEMA FOR CREATE TRIGGER USING GEN WITH UNQUALIFIED TABLES WITHIN TRIGGER AND OBJECT SCHEMA OPTION USED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Administration Tool for z/OS, function GEN with
    TRIGGER dependency may use wrong SET CURRENT SCHEMA
    and option Object schema  . . . . . NEW-SCHEMA is used
    e.g.
        SET CURRENT SCHEMA = 'OLD-SCHEMA' ?
        CREATE TRIGGER NEW-SCHEMA.TRIGGER
               AFTER INSERT ON unqualified.tbname
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the GEN function to generate    *
    *                 DDL for a trigger and override its schema.   *
    ****************************************************************
    * PROBLEM DESCRIPTION: In the DB2 Administration Tool for      *
    *                      z/OS, when using the GEN function to    *
    *                      generate DDL for a trigger with the     *
    *                      'Object Schema' option, a wrong SET     *
    *                      CURRENT SCHEMA statement is produced.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the GEN function to generate DDL for a trigger, and
    specifying the 'Object Schema' option on panel ADB2GEN
    'Generate SQL from DB2 Catalog' to change its schema, the
    wrong 'SET CURRENT SCHEMA' statement is produced.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM37400

  • 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

    2011-04-19

  • Closed date

    2011-06-14

  • Last modified date

    2011-07-05

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

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

    UK68747

Modules/Macros

  •    ADB2REG
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK68747

       UP11/06/17 P F106

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:
05 July 2011