SAP Knowledge Base Article - Preview

3262425 - DB6: Wrong database code page error during unicode conversion

Symptom

You are doing unicode conversion as part of system copy.

You get following error in R3load test after target database has been setup by swpm tool.

WARNING    2022-10-25 11:22:33.122 (root/sapinst) (startInstallation) [iaxxbjsmod.cpp:83] id=modlib.jslib.childAppReturn
Execution of the command "/db2/ABC/saptemp1/TEMP/sapinst_instdir/NW740SR2/DB6/COPY/SYSTEM/DISTRIBUTED/AS-ABAP/DB/R3load -testconnect" finished with return code 12

Running with UTF-8 Unicode
Running with CLI driver.
CLI cfg for con_hdl=0:
DSN="ABC";UID="sapabc";DATABASE=ABC;PROTOCOL=TCPIP;HOSTNAME=abc123;SERVICENAME=29001;
Connected to DB server type 'DB2/AIX64'            ^^^^^^^^^^^^^^^   
Connected to DB server version '11.05.0500'
...

 IMPORTANT NOTICE:
 -----------------
 Your database has been created with wrong database code page.
 SAP databases must be created with code page 819 for non unicode systems or 1208 for unicode systems.

 If you temporarily need to override this check, please refer to note 376746 .
 *** ERROR in checkCodepageSettings[/bas/753_REL/src/dbs/db6/dbdb6.c, 19674] CON = 0 CACHEID = -1 (BEGIN)
 &+     DbSlConnectDB6: Database has been created with wrong db code page.

 *** ERROR in checkCodepageSettings[/bas/753_REL/src/dbs/db6/dbdb6.c, 19674] (END)

You have confirmed that the target database is unicode and the code page is set properly.

db2 get db cfg for <sid> | grep code

Database code page = 1208
Database code set = UTF-8


Read more...

Environment

SAP on IBM Db2 for Linux, UNIX, and Windows

Keywords

R3load testconnect, wrong db code page, DbSlConnectDB6 , KBA , BC-DB-DB6-INS , Installation SAP System , BC-DB-DB6 , DB2 Universal Database for Unix / NT , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.