Try OpenEdge Now
skip to main content
Internationalizing Applications
Understanding Character Processing Tables : The convmap.dat file and its tables : Modifying OpenEdge collation tables : Editing the collation table
Editing the collation table
As you read this section, refer to the Greek collation table in Collations and collation tables.
To modify the CASE-INSENSITIVE-SORT and CASE-SENSITIVE-SORT tables, use your favorite text editor.
A collation table for a single-byte code page must provide 256 values in 16 rows of 16 cells. The number you provide for each cell is a three-digit decimal. A collation name cannot exceed 19 characters and can include the characters A-Z, a-z, 0-9, and the dash (-).
The keyword COLLATION tells OpenEdge that the following table entry is for ABL comparisons. The keyword CODEPAGE-NAME specifies the name of the code page that the collations are for. The keyword COLLATION-NAME specifies a name for the collation.
At run time, OpenEdge searches the convmap.cp file (or an equivalent file) to locate the correct collation tables. As a key to these tables, OpenEdge uses the collation name (specified by -cpcoll) and a code page name (specified by -cpinternal). The names specified for these parameters must match the names in the convmap.cp file. These names are case insensitive.
The keyword COLLATION-TRANSLATION-VERSION specifies a value that OpenEdge uses internally. Progress Software Corporation recommends you specify the value 1.1-16 for single-byte collations.
The CASE-INSENSITIVE-SORT and CASE-SENSITIVE-SORT tables are identical to those used for a database and operate the same way. You modify them in the same way. For information on how to modify these tables, see Modifying OpenEdge collation tables.
The ENDTABLE keyword tells OpenEdge the table is finished. The ENDCOLLATION keyword tells OpenEdge that the collation entry is complete.