DB2 - Problem description
Problem IT22791 | Status: Closed |
POSSIBLE WRONG RESULTS WITH VARCHAR_FORMAT WHEN USING 'DY DDD YYYY' FORMAT | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
When using 'DY DDD YYYY' format in VARCHAR_FORMAT, if DDD is less than 100 then the last character of the day (DY) is getting appended with DDD. Simple repro: db2 "select VARCHAR_FORMAT('2017-03-10','DDD YYYY') from sysibm.sysdummy1" 1 ---------------------------------------------------------------- ---------------------------------------------------------------- ---------------------------------------------------------------- -------------------------------------------------------------- 069 2017 1 record(s) selected. db2 "select VARCHAR_FORMAT('2017-03-10','DY DDD YYYY') from sysibm.sysdummy1" 1 ---------------------------------------------------------------- ---------------------------------------------------------------- ---------------------------------------------------------------- -------------------------------------------------------------- FRI 69I 2017 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * When using 'DY DDD YYYY' format in VARCHAR_FORMAT, if DDD is * * less than 100 then the last character of the day (DY) is * * getting * * appended with DDD. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to 10.5FP10 * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : IT22750 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 13.10.2017 16.07.2018 16.07.2018 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |