Kbase 21962: Errors 6063, 2821 and 2840 Starting a Session or Utility
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/12/2002 |
|
SUMMARY:
This Knowledge Base explains a code page conversion problem and provides a workaround.
When you start a Progress session or utility, or try to connect to a database, you might see the following sequence of messages displayed:
Code page conversion table for <table-name> to <table-name> was not
found in <file-name>. (6063)
You are using -cpinternal <code-page> and -cpprint <code-page>.
(2821)
The table used to convert printer output was not found in
<file name>. (2840)
EXPLANATION:
In this case, the sequence of errors is caused by a conversion problem between the -cpinternal code page and the -cpprint code page of the Client Session.
The errors indicate that there is no conversion table for the code page set on -cpprint and -cpinternal. The reason could be because the conversion between code pages from different language groups is not possible -- the different characters used might have no counterparts in the target code page. Or, it could be that the -cpprint code page specified for the client session was set with an incorrect value.
SOLUTION:
If the problem is not the conversion of the tables but rather an incorrect value (a misspelling or nonexistent code page value); then the way to work around it is to set the -cpprint code page with the value of the -cpinternal code page of the database when you start the session, utility, or connection.
Example case:
A database is started with -cpinternal ISO8859-1 and -cpstream ISO8859-1. The client session, by mistake, has set the -cpprint value to "BASIC". Because "BASIC" is not a code page but a collation table, when the client session tries to make a connection, the sequence of errors (6063) (2821) (2840) will appear.
The workaround is to try to make the connection overriding the -cpprint parameter. For example, if the user was trying to run the PROSHUT utility, the workaround is:
proshut dbname -cpprint ISO8859-1.
References to Written Documentation:
Progress Knowledge Base Solutions:
19799, "Code Pages and Possible Conversions"
16296, "What Is a Code Page Conversion and What Causes Error (6063)"