CA RC/MigratorCA Endevor SCM InterfaceDB2 AdministrationCA RC Compare for DB2 for z/OSCA RC Extract for DB2 for z/OSCA RC/QueryCA RC Secure for DB2 for z/OSCA RC Update for DB2 for z/OSCA Database Analyzer for DB2 for z/OSCA Fast Unload for DB2 for z/OSCA Fast Check for DB2 for z/OSCA Fast Index for DB2 for z/OSCA Fast Load for DB2 for z/OSCA Rapid Reorg for DB2 for z/OS
Issue/Introduction
We want to migrate a table with CCSID UNICODE to another system into a table, which has also CCSID UNICODE.
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
Resolution
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.