IBM Support

PM72882: DB2 ADMINISTRATION TOOL FOR Z/OS SETS SCHEMA NAME INCORRECTLY DURING DROP/CREATE TRIGGER RESULTING IN SQLCODEN204

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 ADMINISTRATION TOOL FOR Z/OS SETS SCHEMA NAME INCORRECTLY
    DURING DROP/CREATE TRIGGER RESULTING IN SQLCODEN204
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool      *
    *                 for z/OS who compare DB2 triggers and        *
    *                 use the 'Run SQLID' option on panel          *
    *                 GOC5 'Generate Compare Jobs'.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: A CREATE TRIGGER statement can be       *
    *                      preceded with a SET CURRENT SCHEMA =    *
    *                      CURRENT_SQLID rather than a SET         *
    *                      CURRENT SCHEMA =CURRENT_SCHEMA.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A CREATE TRIGGER statement preceded with a SET CURRENT SCHEMA =
    CURRENT_SQLID  will result in a SQLCODEN204 / SQLCODE=-204 if
    there are any unqualified objects in the trigger body:
    
    DSNT408I SQLCODE = -204, ERROR:
    >object_name< IS AN UNDEFINED NAME
    DSNT418I SQLSTATE   = 42704
    SQLSTATE RETURN CODE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM72882

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-13

  • Closed date

    2012-10-24

  • Last modified date

    2012-11-02

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

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

    UK82945

Modules/Macros

  •    ADBCDTS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA20 PSY UK82945

       UP12/10/30 P F210

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

Document Information

Modified date:
02 November 2012