On 6 September 2018 at 09:13, Sankaranarayanan, Vignesh
<[email protected]> wrote:

> On mainframe, a dataset has £ (the pound symbol) in multiple records.
> I'm transferring to a RHEL box with lzopts="mode=text".
> The £ shows up as a $.
>
> I ran the COZ job with the following in the first //SFTPIN input:
> export COZ_LOG="T,Translator=F"
>
> I see these relevant lines in the log:
>                 ZosSettingsÝI¨: Transfer options: 
> clientcp=IBM-1047,mode=text,servercp=ISO8859-1,trim
>                 TranslatorÝF¨: -> Translator(IBM-1047, ISO8859-1, , 0, 0)

Vignesh,

Your data is probably not encoded in CP 1047, but more likely the UK
CECP 285. CP 1047 has the dollar sign at 5B, the pound sterling sign
at B1, and the cent sign at 4A. CP 285 has sterling at 5B, dollar at
4A, and cent at B0. But be careful - you are very likely to have a de
facto mix of encodings in various data, depending on where it came
from. Changing your translation from 1047 to 285 may break something
else. (For example, your log lines quoted above show dodgy characters
right after ZosSettings and Translator. What characters do you see
there when you look at them on z/OS? Are they perhaps square
brackets?)

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to