IBM Support

PH07136: CM BATCH ANALYZE OBJECT COMPARE CHANGES TIMESTAMP WITHOUT TIMEZONE NOT NULL TO WITH DEFAULT NULL

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CM Batch Analyze or Object Compare may change a column defined
    as
    'TIMESTAMP WITHOUT TIMEZONE NOT NULL' to 'TIMESTAMP WITHOUT
    TIMEZONE WITH DEFAULT NULL':
    Compare table source(>schema<.>table<) and
    target(>schema<.>table<)
    Column >column<
      (D)Nulls/default changed from NOT NULL to WITH DEFAULT NULL
    

Local fix

  • Define column in source DDL as 'TIMESTAMP WITHOUT TIME ZONE NOT
    NULL,' instead of 'TIMESTAMP WITHOUT TIMEZONE NOT NULL.'
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS or Db2 Object Comparison Tool for z/OS  *
    *                 who run compare against DDL containing       *
    *                 a timestamp column with the phrase           *
    *                 'timezone'.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Running compare against DDL which       *
    *                      includes a timestamp column with        *
    *                      'timezone' causes variables 'NULL'      *
    *                      and 'DEFAULT' to be set incorrectly     *
    *                      for the column.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CM Batch Analyze or Compare may change a column from:
    
    'TIMESTAMP WITHOUT TIMEZONE NOT NULL'
    to:
    'TIMESTAMP WITHOUT TIMEZONE WITH DEFAULT NULL':
    
    The following will appear in the Object Comparison Report:
    
    Compare table source(>schema<.>table<) and
    target(>schema<.>table<)
    Column >column<
      (D)Nulls/default changed from NOT NULL to
    WITH DEFAULT NULL
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH07136

  • 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

    2019-01-10

  • Closed date

    2019-02-06

  • Last modified date

    2019-03-01

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

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

    UI61185 UI61186

Modules/Macros

  •    ADBCDTS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI61185

       UP19/02/08 P F902

  • RC10 PSY UI61186

       UP19/02/08 P F902

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:
31 March 2021