Try OpenEdge Now
skip to main content
Startup Command and Parameter Reference
Startup Parameter Descriptions : Stream Code Page (-cpstream)
 

Stream Code Page (-cpstream)

Use Stream Code Page (-cpstream) to identify the code page OpenEdge uses for stream I/O. Character terminals use the code page you specify for -cpstream unless you also specify a value for TerminalCode Page (-cpterm), PrintCode Page (-cpprint), or LogFile Code Page (-cplog).
Operating system and syntax
UNIX / Windows
-cpstream code-page
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session, Database Server, DataServer
ibm850
ibm850
code-page
Name of the code page for stream I/O.
Stream I/O consists of the following elements:
*Terminals (includes character terminals and DOS Protected mode, but does not include graphical interfaces or the Windows character interface)
*Data (.d) files
*READ-FILE, WRITE-FILE, and INSERT-FILE methods for the EDITOR widget
*INPUT FROM and OUTPUT TO statements
*All compilable files, such as: .p, .w, .i
*Compiler-generated LISTING, XREF, and PREPROCESS files
Note: Do not use a 7-bit table with -cpstream. Use 7-bit tables for converting data from a 7-bit terminal to another code page only. Do not use them for character conversion in memory or for the database.
To retrieve the value of this startup parameter at runtime, use the SESSION system handle. To determine the code page of an r-code file, use the RCODE-INFO handle.