This article mainly describes the correct solution to the incompatibility of the DB2 code page. If you are interested in the correct solution to the incompatibility of the DB2 code page, you can click to view the following articles. The following is a detailed description of the relevant content.
When a command is issued: DB2 connect to db_name, the system returns SQL0332N There is no available conversion for the source code page "819" to the target code page "1386 ". reason Code "1 ". SQLSTATE = 57017
For example:
When the command: DB2 connect to db_name is issued, the system returns
- SQL0332N There is no available conversion for the source code page "819" to the target code page "1386". Reason Code "1". SQLSTATE=57017
DB2 requires that the source code page and the target code page be compatible with each other. In the preceding example, the database connection fails because the source code page is 819 incompatible with the target code page 1386.
The solution is as follows:
On the machine that fails to issue the db2 connect command, execute the following command in the DB2 command window and re-connect:
- ->
- db2set db2codepage=1386 –I instance_name
- db2 terminate
The above content is a description of the solution to the incompatibility of the DB2 code page. I hope it will help you in this regard.