IBM Support

PM59741: LEADING ZEROES SUPRESSED IN UNLOADS FROM DB2 10 NFM

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 version 10 of DB2, the formatting of decimal data has
    changed for the CHAR function. The following changes have been
    made so that the result of the CHAR function is now consistent
    with the result of the CAST (decimal-expression as CHAR(n)).
    
    1. Leading zeroes in the input value are removed.
    2. Leading zeroes are not added to an input value.
    3. If the scale of the decimal value is zero, the decimal
       character is not returned.
    4. A leading blank is not returned for a positive decimal value.
    
    HPU will provide a new parm to handle the change in behavior of
    SQL scaler function CHAR, similar to DB2 APAR PM29124
    BIF_COMPATIBILITY parm
    
    PB11484   DB2 v10
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 High Performance Unload.        *
    ****************************************************************
    * PROBLEM DESCRIPTION: HPU 4.1 only: HPU to implement similar  *
    *                      DB2 APAR PM29124 BIF_COMPATIBILITY      *
    *                      parm. In Version 10 of DB2, the         *
    *                      formatting of decimal data has changed  *
    *                      for the CHAR function. The following    *
    *                      changes have been made so that the      *
    *                      result of the CHAR function is now      *
    *                      consistent with the result of the       *
    *                      CAST (decimal-expression as CHAR(n)).   *
    *                      1. Leading zeroes in the input value    *
    *                       are removed.                           *
    *                      2. Leading zeroes are not added to an   *
    *                       input value.                           *
    *                      3. If the scale of the decimal value    *
    *                       is zero, the decimal character is not  *
    *                       returned.                              *
    *                      4. A leading blank is not returned for  *
    *                       a positive decimal value.              *
    *                      HPU must provide a new parm to handle   *
    *                      the change in behavior of SQL scaler    *
    *                      function CHAR.                          *
    *                      PB 11484                                *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    inzmain and inznodeh modules were changed to implement the new
    feature.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM59741

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-05

  • Closed date

    2012-04-06

  • Last modified date

    2012-05-02

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

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

Modules/Macros

  •    INZRSAVE
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R410 PSY UK77750

       UP12/04/12 P F204

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":"SSAUUV","label":"IBM Db2 High Performance Unload for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"410","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021