DB2 - Problem description
Problem IT22750 | Status: Closed |
POSSIBLE WRONG RESULTS WITH VARCHAR_FORMAT WHEN USING 'DY DDD YYYY' FORMAT | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - 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: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.1 Mod 2 Fix Pack 2 iFix002 or higher * **************************************************************** | |
Local Fix: | |
available fix packs: | |
Db2 Version 11.1 Mod2 Fix Pack2 iFix002 for Linux, UNIX, and Windows | |
Solution | |
First fixed in Db2 11.1 Mod 2 Fix Pack 2 iFix002 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 11.10.2017 22.12.2017 22.12.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |