IBM Support

PH26568: DB2 ADMIN TOOL: GEN -305 GENERATING DDL ON OBJECTS WITH MIGRATED PENDING CHANGES

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, GEN -305 generating DDL on objects with migrated
    pending changes
    
    When DB2 z/OS is migrated from pre-V12 to V12, two columns are
    added to the Db2 SYSIBM.SYSPENDINGDDL catalog table.  If rows
    exist in this table in Db2 z/OS pre-V12, the new columns end
    up populated with nulls in Db2 z/OS V12.  The admin tool
    fails to handle the nulls properly, and ends with this error:
    
    ADB1223E ADB2REM: Unexpected sqlcode in : Fetch c_pending loop
    SQLCODE=-305
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS Reverse Engineering (GEN) function.     *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Users might encounter an SQLCODE -305   *
    *                      when generating DDL for a Db2 object    *
    *                      that has pending changes.               *
    ****************************************************************
    The GEN function results in an SQLCODE -305 when attempting to
    generate DDL for a Db2 object that has pending changes that
    were migrated from pre-Db2 12 to Db2 12.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH26568

  • 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-06-18

  • Closed date

    2020-10-05

  • Last modified date

    2021-01-11

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

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

    UI71909

Modules/Macros

  • ADB2REM
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI71909

       UP20/10/07 P F010

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.

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

Document Information

Modified date:
12 February 2021