Terminal Code Page (-cpterm)

Operating system and syntax UNIX / Windows
-cpterm codepage
Use with Maximum value Minimum value Single-user default Multi-user default
CS, DBS, DS -cpstream -cpstream
codepage
The name of the code page for character terminals.

Use Terminal Code Page (-cpterm) to identify the code page of your character terminals. This parameter allows you to specify a different code page for character terminals than used by the rest of stream I/O, which is set by Stream Code Page (-cpstream).

Note: You can use a 7-bit table with -cpterm.

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.