Feedback
Did this article resolve your question/issue?

   

Article

Circled Digits stored in DB2 GRAPHIC columns return corrupted

Information

 
TitleCircled Digits stored in DB2 GRAPHIC columns return corrupted
URL NameCircled-Digits-stored-in-DB2-GRAPHIC-columns-return-corrupted
Article Number000183078
EnvironmentProduct: Connect(64) for ODBC DB2 Wire Protocol driver
Version: 7.10.5.226
OS: Windows
Database: DB2
Application: All supported applications
Question/Problem Description
Circled digit characters are not returned correctly when selected from GRAPHIC and VARGRAPHIC columns with CCSID 4396. 
They are returned correctly when selected from CHAR and VARCHAR columns with CCSID 5026.
 
Steps to ReproduceDDL to reproduce problem:
CREATE TABLE TEST_CIRCLED

(COL01 CHARACTER(10) CCSID 5026,
COL02 VARCHAR(15) CCSID 5026,
COL03 GRAPHIC(10) CCSID 4396,
COL04 VARGRAPHIC(15) CCSID 4396
)

insert into TEST_CIRCLED values ('①', '②', '③', '④')

Steps to reproduce problem:
From ODBC Test on a Japanese Windows machine, run this query:
select * from TEST_CIRCLED

Observed results:
Columns COL03 and COL04 are corrupted.

Get Data All:
"COL01", "COL02", "COL03", "COL04"
"① ", "②", "・         ", "・"
1 row fetched from 4 columns.

Expected results:
Columns COL03 and COL04 should return circled digit 3 and circled digit 4 respectively.

Get Data All:
"COL01", "COL02", "COL03", "COL04"
"① ", "②", "③         ", "④"
1 row fetched from 4 columns.
Clarifying Information
Error Message
Defect NumberDefect 22201
Enhancement Number
Cause
The driver was using the wrong conversion table for CCSID 4396.
Resolution
Fixed in hot fix 07.15.0233.
Refer to article Connect and Connect64 for ODBC hot fix download and install instructions for instructions on how to download and install the hot fix.
Workaround
Notes
Last Modified Date11/20/2020 7:26 AM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.