IBM Support

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

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 that results in SQLCODEN204
    .
    Additional symptoms:
    DSNT408I SQLCODE = -204, ERROR:  schema_name.table_name
    IS AN UNDEFINED NAME
     DSNT418I SQLSTATE   = 42704 SQLSTATE RETURN CODE
    

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:
    
    DNT408I 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

    PM72755

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-12

  • Closed date

    2012-09-25

  • Last modified date

    2012-10-01

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

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

    UK82092

Modules/Macros

  •    ADBCDTS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK82092

       UP12/09/27 P F209

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

Document Information

Modified date:
01 October 2012