Try OpenEdge Now
skip to main content
Internationalizing Applications
OpenEdge Resources : Startup parameters and settings
 

Startup parameters and settings

The following table lists startup parameters useful when deploying applications across multiple locales. For more information on these startup parameters see OpenEdge Data Deployment: Startup Command and Parameter Reference.
Table 28. Startup parameters
Syntax
Name
Description
-checkdbe
Check double-byte enabled
Causes OpenEdge to report a compile-time error whenever it finds a LENGTH function, SUBSTRING function, or OVERLAY statement that does not use the CHARACTER, COLUMN, FIXED or RAW option.Use -checkdbe when you modify an OpenEdge application to support double-byte or Unicode characters.
-convmap
Conversion map
Specifies the conversion map file to use for code-page conversions, collation orders, and case conversions.The default conversion map file is OpenEdge/convmap.cp.
-cpcase
Case table
Specifies a case table in the convmap.cp file to use for case conversions.The default is BASIC. OpenEdge performs case conversions when you use the CAPS and LC functions, and when you use "!" in a character-field format string, which tells OpenEdge to convert all characters in the string to uppercase during input.
-cpcoll
Collation table
Specifies a collation table in the convmap.cp file, or a collation in the International Components for Unicode (ICU) library, to use for sorting.The default is BASIC.
-cpinternal
Internal code page
Specifies the code page OpenEdge uses in memory and for graphical clients.The default is the ISO8859-1 code page.
-cplog
Log file code page
Specifies the code page OpenEdge uses when it writes to a log file.The default is the code page specified by -cpstream.
-cpprint
Print code page
Specifies the code page OpenEdge uses when it prints to a printer.The default is the code page specified by -cpstream.
-cprcodein
R-code in code page
Specifies the code page OpenEdge uses when it reads r-code text segments.The default is the code page described in the r-code.
-cprcodeout
R-code out code page
Specifies the code page OpenEdge uses when it writes r-code text segments.The default is the code page specified by -cpinternal.
-cpstream
Stream code page
Specifies the code page for stream I/O.The default code page is IBM850.
-cpterm
Terminal code page
Specifies the code page for output to a character terminal.The default is the code page specified by -cpstream.
-d
Date format
Specifies the date format; that is, the order in which the day, month, and year appear. Specify the format as a three-character string, comprising the letters d (day), m (month), and y (year), in the preferred order.The default is "mdy".The -d startup parameter corresponds to the DATE-FORMAT attribute of the SESSION system handle.
-E
European numeric format
Specifies that the decimal separator is a comma and that the thousands separator is a period, for numeric values, for input and output.By default, the decimal separator is a period and the thousands separator is a comma.The -E startup parameter corresponds to the NUMERIC-FORMAT attribute of the SESSION system handle.
-isnoconv
Initial value segment no convert
Disables a code-page conversion that was not provided in earlier versions of OpenEdge.
-lng
Language
Specifies the initial value for the CURRENT-LANGUAGE function, which determines the r-code segment from which OpenEdge reads character-string constants.Specify the language as a quoted character string. Use the quoted character strings defined when Translation Manager was run.
-numdec
Fractional separator
Specifies the character that separates the integer portion and the fractional portion of a decimal number.
-numsep
Thousands separator
Specifies the character that separates each group of three digits in a number.
-yr4def
Four-digit year default
Outputs a four-digit year from EXPORT MESSAGE and PUT UNFORMATTED statements that might use a two-digit-year.
-yy
Century year offset
Specifies the starting year for the OpenEdge two-digit year range of 100 years.The -yy startup parameter corresponds to the YEAR-OFFSET attribute of the SESSION system handle.
The following table lists the OpenEdge Explorer or OpenEdge Management properties you can localize. For each property, the table gives the corresponding startup parameter.
Table 29. OpenEdge Explorer and OpenEdge Management properties that can be localized
OpenEdge Explorer setting
OpenEdge Explorer default
Command line startup parameter
Command line default
Code page (internal)
ISO8859-1
-cpinternal
ISO8859-1
Not applicable
IBM850
-cpstream
IBM850
Log character set
ISO8859-1
-cplog
IBM850
Case table
BASIC
-cpcase
BASIC
Collation table
BASIC
-cpcoll
BASIC
Conversion map
OpenEdge/convmap.cp
-convmap
OpenEdge/convmap.cp