IBM Support

PH58267: CONSTRAINT AND PRIMARY KEY ARE MISSING FROM GENERATED CREATE TABLE AND ALTER TABLE DDL.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After applying APAR PH50088, the GEN command of Admin Tool for
    Db2 generates CREATE TABLE and ALTER TABLE DDL statements that
    are missing CONSTRAINT and PRIMARY KEY.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 who use the GEN line command to create       *
    *                 tables that have constraints                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: After the fix for APAR PH50088, the GEN *
    *                      command generates CREATE TABLE and      *
    *                      ALTER TABLE DDL statements that are     *
    *                      missing CONSTRAINT and PRIMARY KEY.     *
    ****************************************************************
    This APAR corrects DDL generation so that CONSTRAINT and PRIMARY
    KEY are included for tables with these items defined.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH58267

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-11-17

  • Closed date

    2024-02-02

  • Last modified date

    2024-03-03

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

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

    UI95544 UI95545

Modules/Macros

  • ADB2REP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI95544

       UP24/02/07 P F402

  • RD10 PSY UI95545

       UP24/02/07 P F402

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 April 2024