Supporting the chcp Command
The chcp command can be used to dynamically change the code page in
interactive terminal sessions. The default SSH Tectia Server for IBM z/OS configuration
supports this usage. The code page (and the locale) is typically set up in
each user's .profile or .tcshrc script (see the IBM book
z/OS USS User's Guide).
Note: The /etc/profile and the user's .profile
script must work in both the IBM-1047 code page and the user's code page.
Several of the EBCDIC variant characters are significant in shell scripts.
The chcp command has code page names as its arguments. The code
pages must be supported by iconv. The chcp command cannot
specify a translation table file.