Problems With DG4ODBC 11.2 and AS400 DB2 Unicode GRAPHIC Column
(Doc ID 1440067.1)
Last updated on JUNE 05, 2019
Applies to:
Oracle Server - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]Information in this document applies to any platform.
Symptoms
Using the Oracle Database Gateway for ODBC (DG4ODBC) 11.2.0.x a select from a column defined as GRAPHIC length of 5 with CCSID 13488 on an AS400 defined as CCSID 37 fails to retain the original column length.
Create a table on the AS400 as follows -
CREATE TABLE PRODDTA9.F1201 (
FACO GRAPHIC(5) CCSID 13488 DEFAULT NULL ,
FANUMB NUMERIC(8, 0) DEFAULT NULL ,
FAAPID GRAPHIC(12) CCSID 13488 DEFAULT NULL ,
FAAAID NUMERIC(8, 0) DEFAULT NULL ,
FAASID GRAPHIC(25) CCSID 13488 DEFAULT NULL ,
.......)
select * from f1201@jde_crpdta
FACO FANUMB FAAPID FAAAID FAASID FASEQ
--------------- ---------------------- ------------------------------------ ---------------------- ---------------------------------------------------------------------------
FACO FANUMB FAAPID FAAAID FAASID FASEQ
--------------- ---------------------- ------------------------------------ ---------------------- ---------------------------------------------------------------------------
The data returned may be malformed or not returned as in the above SELECT.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |