>Just for the archive and perhaps for some offline reader. 
[snip]

>So this leaves at least two choices 
>
>1. Switch to mode hex and enter x'E0' as a backslash (x'EC' is for
cp273)
>2. use iconv -t IBM-1047 -f IBM-273 ! /bin/sh (the '!' vary from
codepage 
>   to coderpage) at first statement in your STDIN 


Let me add a third option:

3. The LE runtime runs in the C locale with CP1047 by default.
   You can tell it to do otherwiese with:

   //STEP1    EXEC   PGM=AOPBATCH,           
   // PARM='ENVAR("LC_ALL=De_DE.IBM-273")/sh'

   Then AOPBATCH's shell will assume characters are encoded
   in CP273, so x'EC' will be interpreted as  '\'. 
   No need to fiddle around with hex mode, no need for iconv.

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