DB2 database code page incompatible Solution

Source: Internet
Author: User
Tags db2 connect db2 connect command db2 connect to

In order not to delay everyone's time, I will introduce it to you directly.Incompatible DB2 database code pageSolution.

Solve the Problem of incompatibility with the DB2 database code page:

Environment:

Product: DB2 UDB
Platform: Windows 9x/NT/2000, Unix, Linux
Version: 5.x/ 6.x/ 7.x


Q: How can I solve the problem of incompatibility with the DB2 database code page?

Answer:

Run the following command:

After 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


DB2 requires that the source code page and the target code page be compatible with each other. In the preceding example, if the source code page is 819 and the target code page is 1386 incompatible, the database connection fails. 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

This is all about the incompatible solution of the DB2 database code page that I want to introduce to you. It may not be comprehensive yet. I hope I will continue to share with you some good solutions in the future.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.