Try OpenEdge Now
skip to main content
Internationalizing Applications
Using Databases : Loading table dump files : Code-page trailers
 

Code-page trailers

Some table dump files contain code-page trailers, which tell OpenEdge the code page of the table dump file's data. When you load such a table dump file, OpenEdge reads the code-page trailer, determines the code page of the file's data, and interprets the data correctly. In the current version of OpenEdge, when you dump a database using the Data Dictionary utility, the resulting table dump file contains a code-page trailer.
The following figure shows a typical code-page trailer with the code page name "IBM850."

A typical code-page trailer with the code page name "IBM850"

...
PSC
filename=customer
records=00000033
ldbname=xl
timestamp=1994/03/30-10:20:03
numformat=.
dateformat=mdy-1900
cpstream=ibm850
...
0000006570
Other table dump files do not contain code-page trailers. When you load such a table dump file, you must tell OpenEdge the code page of the file's data by using the -cpstream startup parameter. To determine the code page of a table dump file that lacks a code-page trailer, see Understanding Code Pages.