Kbase P61332: How to add a collation table within convmap.cp for a specified code page specified
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
How to add a collation table within convmap.cp for a specified code page specified
GOAL:
A way to resolve error 1043
FIX:
As per the messages
Collation table for code page <code-page> and collation name
<collation-name> was not found in <filename>. (1043)
you need to add a collation table within convmap.cp
The following way will solve the problem, but you must be aware that you might introduce a wrong collation resulting in sorting within an order different than the one officially defined for that collation. The given example is for an error message:
Collation table for code page 1254 and collation name
Basic was not found in /application/turkey/turkish.cp. (1043)
1. Save a copy of the original %DLC%\prolang\convmap\<code_page>.dat
(or $DLC/prolang/convmap/<code_page>.dat)
2. Edit %DLC%\prolang\convmap\<code_page>.dat
(or $DLC/prolang/convmap/<code_page>.dat)
3. Duplicate one section for a certain collation within that file (for example, copy the section for Turkish collation within "turkish.dat")
4. Rename the copied section to the missing collation-name (for the above example, rename "Turkish" as "Basic"
5. Compile the new <code_page>.dat file
proutil -C CODEPAGE-COMPILER <code_page>.dat <filename> (for the above example, proutil -C CODEPAGE-COMPILER $DLC/prolang/convmap/turkish.dat /application/turkey/turkish.cp )