Sorry, Jim, for the confusion. Let me try to fix that.

- By default, the shell and utilities expect text to be encoded
  in code page IBM-1047 (CP1047 for short).

- Text entered/viewed in a TSO/ISPF session (this includes ISHELL
  and OEDIT) is encoded with the host code page setup in your
  3270 emulator. CP037 in the US, CP285 in the UK, CP500 in
  Switzerland, and so on.

So, if you enter C source code (i.e. text) in ISPF, the C-compiler
(c89 shell utility) will report undefined characters. If you have
the characters ok so that the compiler is happy, you might see
strange characters when looking at the file in ISPF.

Two choices:

- You can change the "shell side" and tell it to work with the CP
  of your 3270 emulator, i.e. change the locale by setting environment
  variable LC_ALL. 
  Having done so, the compiler now accepts the same encoding as you
  are using in your 3270 environment (ISPF).

- You can change your emulator setting to CP1047. This way, the emulator
  will encode text so that the shell and utilities recognize it.

HTH

-- 
Peter Hunkeler
CREDIT SUISSE

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to