In a Microsoft Host Integration Server 2009 environment, you install the fix that is described in the following article in the Microsoft Knowledge Base:
For example, you set the following parameters:
The output you receive resembles the following when you use 1208 for the host character code set identifier (CCSID) property:
2550921 FIX: Error message when queries are submitted to DB2 for z/OS Version 7 in a Host Integration Server 2009 environment: "SQLSTATE: HY000, SQLCODE: -344"
When you use a managed data provider together with Unicode graphic columns on an IBM DB2 V6R1 data source, you notice that invalid data is inserted in the columns.For example, you set the following parameters:
SetParms.SetGraphic(cmd, 28, "", 10);
//"DNY58TME GRAPHIC(10) CCSID 13488 DEFAULT NULL , " +
SetParms.SetGraphic(cmd, 29, "101010", 10);
//"DNTORG GRAPHIC(10) CCSID 13488 DEFAULT NULL , " +
SetParms.SetGraphic(cmd, 30, "10", 10);
//"DNVERS GRAPHIC(10) CCSID 13488 DEFAULT NULL , " +
SetParms.SetGraphic(cmd, 31, "", 10);
//"DNPID GRAPHIC(10) CCSID 13488 DEFAULT NULL , " +
SetParms.SetGraphic(cmd, 32, "", 10);
//"DNUSER GRAPHIC(10) CCSID 13488 DEFAULT NULL , " +
SetParms.SetGraphic(cmd, 33, "101010", 10);
The output you receive resembles the following when you use 1208 for the host character code set identifier (CCSID) property:
Column Name: DNY58EDIMJ Param 28 - DataType = Graphic
Column Name: DNY58TME Param 29 - 101010 DataType = Graphic
Column Name: DNTORG Param 30 - 10 DataType = Graphic
Column Name: DNVERS Param 31 - ??? DataType = Graphic
Column Name: DNPID Param 32 - DataType = Graphic
Column Name: DNUSER Param 33 - 101010 DataType = Graphic