Stream Code Page (-cpstream)
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Stream Code Page (-cpstream)
| Operating system and syntax | UNIX / Windows |
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| CS, DBS, DS | – | – | ibm850 | ibm850 |
- codepage
- The name of the code page for stream I/O.
Use Stream Code Page (-cpstream) to identify the code page used for stream
I/O. Character terminals use the code page you specify for -cpstream unless
you also specify a value for Terminal Code Page (-cpterm), Print Code Page
(-cpprint), or Log File Code Page (-cplog).
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, andINSERT-FILEmethods for theEDITORwidget -
INPUT FROMandOUTPUT TOstatements - All compilable files (for example, .p, .w, .i)
- Compiler-generated
LISTING,XREF, andPREPROCESSfiles
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 run time, use the SESSION System handle.
To determine the code page of an r-code file, use the RCODE-INFO handle.