vi displays garbage when editing a file, but cat shows the contents ok.
Hi, Kent. Do you have the environment variable _BPXK_AUTOCVT=ON set? If you are using Rocket’s open source tools (such as bash), they make use of IBM’s enhanced ASCII suport and are ASCII-mode programs. They require this setting.
If you haven’t used enhanced ASCII before this, it would be helpful to spend some time with the documentation. Besides the link above, I recommend looking at: