UNICODE-tables not handled correctly

Document ID : KB000104062
Last Modified Date : 04/07/2018
Show Technical Document Details
Introduction:
We want to migrate a table with CCSID UNICODE to another system into a table, which has also CCSID UNICODE.
Question:
We want to migrate a table with CCSID UNICODE to another system into a table, which has also CCSID UNICODE. The data is unloaded in EDCDIC, which is in my opinion wrong, because the table can contain data, which can't be represented in EBCDIC and the subsequent load fails with conversion error, because
1. UNICODE is specifiede, although input-dataset is EBCDIC
2.Field-specifications are wrong (if input-dataset is EBCDIC I will send generated strategy.

How do we resolve this
 
Environment:
z/os db2
Answer:
This is specifiable through the utility model that you are using. You should add the symbol UNICODE to your UNLOAD utility with a value of UNICODE. Additionally, it seems you wish to LOAD to a UNICODE table also, so you may also want to specify the same symbol/value combination in the LOAD utility.