A fix is available
APAR status
Closed as program error.
Error description
For a unicode table and a column defined as decimal value and the decimal point is defined in DB2 as a comma, the conversion to CHAR/VARCHAR is not done correctly. For example, with value 7896,1236 the column is converted to 7896k1236 ( x'2037383936B631323336' ). The x'B6' in the string is the k character in unicode, and is the comma ( , ) in EBCDIC. So the comma is not correctly converted. The comma is x'2C' in unicode.
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of the Db2 Administration Tool for * * z/OS with decimal point comma that needs * * to convert a column in a unicode table * * from decimal to char or varchar * **************************************************************** * PROBLEM DESCRIPTION: The decimal point comma is not * * converted to unicode correctly. * **************************************************************** * RECOMMENDATION: * **************************************************************** When converting a decimal column in a unicode table to char or varchar, say decimal 123,45 DEC(5,2) where the decimal point comma is used, it was converted to 123k45 where k=x'6B' (EBCDIC comma displayed in unicode). It should be x'2C' (unicode comma).
Problem conclusion
The problem has been fixed. In addition the conversion program will now left justify the number if the target is a varchar.
Temporary fix
Comments
APAR Information
APAR number
PH07674
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-01-24
Closed date
2019-03-27
Last modified date
2019-05-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI62166 UI62167
Modules/Macros
ADB27AC
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
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":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 May 2019