IBM Support

PH31552: DDL/GEN OUTPUT OF TABLE MISSING 'IN DATABASE' CLAUSE FOR DATABASE DSNDB04

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using DDL or GEN to generate a CREATE TABLE statement,
    the IN DATABASE DSNDB04 clause is missing for these situations:
    
    1) Table originally created with IN DATABASE DSNDB04
    2) Table originally created with IN DATABASE >database< in
    conjunction with one of the following:
       a) NEWDB option set to DSNDB04
       b) Database name is masked to DSNDB04
    
    As a result, the table will be created in an implicit database,
    and not in database DSNDB04.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: GEN does not produce the IN DATABASE    *
    *                      DSNDB04 clause in a CREATE TABLE        *
    *                      statement.                              *
    *                                                              *
    ****************************************************************
    When generating a CREATE TABLE statement, the IN DATABASE
    DSNDB04 clause is missing for the following situations:
    
    1) The table was originally created with IN DATABASE DSNDB04
    2) The table was created with IN DATABASE MYDB, where MYDB is an
       explicitly created database, and one of the following
       conditions is also true:
       a) The NEWDB option in GEN is set to DSNDB04
       b) The database name is masked to DSNDB04
    

Problem conclusion

  • The problems have been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH31552

  • 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-11-13

  • Closed date

    2021-03-11

  • Last modified date

    2021-04-01

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

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

    UI74382

Modules/Macros

  • ADB2REG
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI74382

       UP21/04/01 P F103

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]

Document Information

Modified date:
02 April 2021