IBM Support

PK07196: DATA TRUNCATION ON CHANGE OF DECIMAL COLUMN SIZE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Object Compare a difference is noted in decimal column
    definitions. Changing from DECIMAL(7, 5) to DECIMAL(11, 7)
    causes data truncation and incorrect data values after LOAD.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administartion Tool and DB2     *
    *                 Object Comparison Tool, who use ALC and      *
    *                 change a DECIMAL column from a smaller       *
    *                 scale to a larger scale, are affected.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: In using the DB2 Object Comparison Tool *
    *                      a difference is noted in decimal column *
    *                      definitions. Changing from DECIMAL(7,5) *
    *                      to DECIMAL(11,7) causes data truncation *
    *                      and incorrect data values after LOAD.   *
    *                      Note: Users of DB2 Administration Tool  *
    *                      would have the same problems if the     *
    *                      same type of conversion is being done.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Data Truncation occurred on change of DECIMAL COLUMN size.
    

Problem conclusion

  • Data during LOAD was improperly converted and reloaded because
    DECIMAL to DECIMAL conversions were not handled correctly when
    increasing scale size. The problems have been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK07196

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    420

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-06-13

  • Closed date

    2005-07-27

  • Last modified date

    2005-09-02

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

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

    UK05779

Modules/Macros

  •    ADB27A   ADB27AC
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R420 PSY UK05779

       UP05/08/04 P F508

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

Document Information

Modified date:
02 September 2005