IBM Support

IC85499: TO_CHAR(DECFLOAT ZERO, '9') RETURNS BLANKS ONLY IN V9.7FP5 OR LATER.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • to_char(decfloat zero, '9') returns blanks only in v97fp5, fp6.
    The following statements illustrate the problem.
    
    v9.7fp4
    db2 values to_char(0,'9')
    
    1
    -------------------------
     0
    
      1 record(s) selected.
    
    
    v9.7fp5
    db2 values to_char(0,'9')
    
    1
    -------------------------
    
    
      1 record(s) selected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who use TO_CHAR or VARCHAR_FORMAT function.            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * to_char(decfloat zero, '9') returns blanks only in v97fp5,   *
    * fp6.                                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to V9.7 FixPack 7 or later.                   *
    ****************************************************************
    

Problem conclusion

  • This problem was fixed in DB2 V9.7 FixPack 7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC85499

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-24

  • Closed date

    2012-10-20

  • Last modified date

    2012-10-20

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

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

    IC88351

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC85499

Modified date: 20 October 2012