IBM Support

PM35871: SET CURRENT SCHEMA MISSING FROM INITIAL CREATE TRIGGER. FFA10 PM42232.

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

    PM35871

  • 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-03-29

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

    UK69664

Modules/Macros

  •    GOC2CMS
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK69664

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