Terminal Code Page (-cpterm)

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).

Operating system and syntax UNIX / Windows -cpterm code-page
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session, Database Server, DataServer -cpstream -cpstream
code-page
Name of the code page for character terminals.
Note: You can use a 7-bit table with -cpterm.

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.