Progress
Database Administration
Guide and Reference
Stream Code Page (-cpstream)
codepage
The name of the code page for stream I/O.
Use Stream Code Page (-
cpstream
) to identify the code page Progress uses 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, and INSERT-FILE methods for the EDITOR widget
- INPUT FROM and OUTPUT TO statements
- All compilable files (.p, .w, .i, etc.)
- 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 run time, use the SESSION System handle. To determine the code page of an r-code file, use the RCODE-INFO handle.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |