IBM Support

PH21379: DB2 ADMIN TOOL COPY CATALOG SQLCODE = -204 DELETE GLOBAL TEMPORARY TABLE SESSION TABLENAME DOES NOT EXIST

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Db2 Admin Tool Copy Catalog job may generate sqlcode =
    -204/sqlcoden204 errors attempting to delete rows from Global
    Temporary Tables (GTTs) that may not exist.  For example:
    
    DELETE FROM SESSION.>tablename<
    
    DSNT408I SQLCODE = -204, ERROR: SESSION.>tablename<
    IS AN UNDEFINED NAME
    
    This fix adds a check to see if a GTT exists before
    trying to access it.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for         *
    *                 z/OS or Object Comparison Tool for z/OS.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: The Batch Restart Program (ADBTEP2)     *
    *                      tries to access global temporary tables *
    *                      (GTTs) that do not exist, resulting in  *
    *                      SQLCODE = -204 / sqlcoden204 errors.    *
    ****************************************************************
    The Batch Restart Program (ADBTEP2) is checking for
    the existence of GTTs by trying to access them. This may
    result in a -204 error (object not defined) if the object does
    not exist. The program has been changed to ensure the existence
    of GTTs before trying to access them.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH21379

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-24

  • Closed date

    2020-05-12

  • Last modified date

    2020-06-01

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

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

    UI69458

Modules/Macros

  • ADBTEP2  ADBTEPR  ADBTEPU
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI69458

       UP20/06/01 P F005

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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021