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, and INSERT-FILE methods for the EDITOR widget
INPUT FROM and OUTPUT TO statements
All compilable files (for example, .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 run time, use the SESSION System handle. To determine the code page of an r-code file, use the RCODE-INFO handle.