Consultor Eletrônico



Kbase P114199: I18N: Errors 6063 and 24 at startup when changing language environment of application
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Errors 6063 and 24 at start up

Code page conversion table for <table-name> to <table-name> was not found in convmap.cp. (6063)

Messages from PROMSGS may not be displayed properly. (24)

CHANGE:

Changed startup parameter -cpinternal

CAUSE:

Progress and OpenEdge use the setting of -cpinternal when reading the PROMSGS file. If the argument to -cpinternal is incompatible with the format of the PROMSGS database then Progress will generate errors 6063 then 24 at application startup.

FIX:

Use a PROMSGS database compatible with the -cpinternal setting. Use the PROMSGS environment variable to separate environments if multiple languages must be used simultaneously in different applications.
For example:
1. install the PROMSGS database for language LLL.
2. create a wrapper script (.BAT on windows or .sh on Unix) that does the following:
- set the PROMSGS environment variable to %DLC%\prolang\LLL\promsgs.LLL
- run the application with the custom -cpinternal setting (and possibly other custom settings such as -cpstream, -cpcoll, etc.)
3. run the application through the wrapper script.
Example script prowinpolish.bat for Windows:
set PROMSGS=%DLC%\prolang\pol\promsgs.pol
prowin32 -cpinternal cp1250 -cpstream cp1250 -cpcoll Polish -cpcase Basic %1 %2 %3 %4 %5 %6 %7 %8 %9
Example script propolish.sh for Unix:
#! /bin/sh
PROMSGS=$DLC/prolang/pol/promsgs.pol
export PROMSGS
pro -cpinternal iso8859-2 -cpstream iso8859-2 -cpcoll Polish -cpcase Basic "$@"