Kbase P12790: How to add a collation table for a specific code page in convmap.dat?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/3/2004 |
|
Status: Unverified
GOAL:
How to add a collation table for a specific code page in convmap.dat?
FACT(s) (Environment):
Progress 9.1x
FIX:
The following example will work for "basic" collation table and code-page 1250.
proenv>prodb shora $DLC/prolang/rom/empty -pf $DLC/prolang/rom/roman.pf
Database copied from /usr1/progress/91c/dlc/prolang/rom/empty. (1365)
proenv>progress shora -1 -pf $DLC/prolang/rom/roman.pf
Dump Collation Table from Data Administration into $WRKDIR/_tran.pf
Leave Progress Editor
proenv> cp _tran.df $DLC/prolang/convmap
proenv> cd $DLC/prolang/convmap
Edit _tran.df to place collation table elements, i.e.
COLLATION
CODEPAGE-NAME 1250
COLLATION-NAME BASIC
COLLATION-TRANSLATION-VERSION 1.0-16
etc
( See internationalization Guide v9, chapter 3, Collation tables )
Edit convmap.dat to insert _tran.df file reference
Compile convmap.dat with:
proenv> proutil -C codepage-compiler convmap.dat $WRKDIR/convmap.cp
proenv> cd $WRKDIR
Now convmap.cp is ready to be used. Start progress client with:
proenv> _progres -db shora -1 -pf $DLC/prolang/rom/roman.pf -convmap $WRKDIR/convmap