Progress
Internationalization Guide


Progress Databases

There are several techniques for determining the code page of a Version 8 or Version 9 database. Here is one technique:

  1. Start the Procedure Editor.
  2. Within the Procedure Editor, start the Data Dictionary utility, connect to the database, then exit the Data Dictionary utility.
  3. From the Procedure Editor main menu, select the following:
  4. Tools Data Administration Utilities Information

    The Session Information window opens.

  5. In the Session Information window, search for the Database Code Page label.
  6. Immediately to its right, the name of the database’s code page appears.

Another technique is to examine the metaschema field, _Db._Db-xl-name. To display this field, run the following code fragment:

FIND FIRST _Db.
DISPLAY _Db._Db-Xl-Name. 

Yet another technique is to use the DBCODEPAGE function in a procedure, as shown in the following code fragment:

DEFINE VARIABLE i AS INTEGER.
REPEAT i=1 TO NUM-DBS:  /* For every connected database */
  DISPLAY DBCODEPAGE(i).
END. 

For more information on the DBCODEPAGE function, see the Progress Language Reference .


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095