The chcp command can be used to dynamically change the code page in interactive terminal sessions. The default 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).
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.
Copyright 2017 SSH Communications Security Corporation This software is protected by international copyright laws. All rights reserved. Contact Information