IBM Support

PM42232: SET CURRENT SCHEMA MISSING FROM INITIAL CREATE TRIGGER

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Object Comparison Tool for z/OS, SET CURRENT SCHEMA
    is missing from initial create trigger resulting in
    SQLCODE = -20100, ERROR: AN ERROR OCCURRED WHEN BINDING A
    TRIGGERED SQL STATEMENT. INFORMATION RETURNED: SECTION NUMBER :
    2 SQLCODE -204 SQLSTATE 42704, AND MESSAGE TOKENS
    tbowner.tbname
    .
    Additional Symptoms rc8 sqlcoden20100
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who compare triggers on tables.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool creates  *
    *                      triggers without the SET CURRENT SCHEMA *
    *                      statement before the CREATE TRIGGER     *
    *                      statement, resulting in a SQLCODE =     *
    *                      -20100 / SQLCODEN20100 as shown below:  *
    *                                                              *
    *                      DSNT408I SQLCODE = -20100, ERROR:       *
    *                      AN ERROR OCCURRED WHEN BINDING A        *
    *                      TRIGGERED SQL STATEMENT.                *
    *                      INFORMATION RETURNED: SECTION           *
    *                      NUMBER : 2                              *
    *                      SQLCODE -204 SQLSTATE 42704,            *
    *                      AND MESSAGE TOKENS tbowner.tbname       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool creates triggers without the SET
    CURRENT SCHEMA statement before the CREATE TRIGGER statement,
    statement, resulting in a SQLCODE = -20100 / SQLCODEN20100 as
    shown below:
    
    DSNT408I SQLCODE = -20100, ERROR: AN ERROR OCCURRED WHEN
    BINDING A TRIGGERED SQL STATEMENT.  INFORMATION RETURNED:
    SECTION NUMBER : 2
    SQLCODE -204 SQLSTATE 42704, AND MESSAGE TOKENS tbowner.tbname
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42232

  • 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

    2011-06-22

  • Closed date

    2011-07-12

  • Last modified date

    2011-08-01

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

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

    UK69669 UK69670

Modules/Macros

  •    ADB2CMS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK69669

       UP11/07/15 P F107

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 August 2011