I have a Data Services 12.2.3.1 job that was upgraded from a Data Integrator 11.5.1.5 job.
It runs fine in the DI environment:
DI 11.1.5.1. DataStore codepage cp1252
>>
DB2 UDB v9.7 Client codepage 819 (codeset ISO-8859-1)
>>
iSeries AS400 DB2 UDB CCSID 285
It does not run in the Data Services environment
DS 12.2.3.1. DataStore codepage cp1252
>>
DB2 UDB v9.7 Client codepage 819 (codeset ISO-8859-1)
>>
iSeries AS400 DB2 UDB CCSID 285
This just produces a signal 11 error.
I changed the Data Services DataStore codepage to match the DB2 client as per the Data Services documentation:
DS 12.2.3.1. DataStore codepage iso-8895-1
>>
DB2 UDB v9.7 Client codepage 819 (codeset ISO-8859-1)
>>
iSeries AS400 DB2 UDB CCSID 285
This just produces exactly the same error!
In frustration I thought "What the hell" and tried:
DS 12.2.3.1. DataStore codepage utf-8
>>
DB2 UDB v9.7 Client codepage 819 (codeset ISO-8859-1)
>>
iSeries AS400 DB2 UDB CCSID 285
This, for some bizarre reason, works!
Why does this work? Surely there is potential for character loss between the DataStore codepage of utf-8 and the DB2 UDB client codepage of 819 (codeset ISO-8859-1)?
I'm so confused now - what settings should I use?