PS: You folk are the best! 
Thank you so much for keeping this forum/list alive.

– Vignesh
Mainframe Infrastructure

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Sankaranarayanan, Vignesh
Sent: 07 September 2018 09:14
To: [email protected]
Subject: Re: [EXTERNAL] Re: Co:Z question

Hi Tony,

Thanks for your inputs.
Worries me to think about considering codepage at every turn of the way.
Perhaps I should set the terminal emulator's codepage to match z/OS's, which 
would be 1047, instead of the current default (1146)?
I see only "1047 Open Edition" as an available code page in HOD.

– Vignesh
Mainframe Infrastructure

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Tony Harminc
Sent: 06 September 2018 17:27
To: [email protected]
Subject: [EXTERNAL] Re: Co:Z question

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

MARKSANDSPENCER.COM
________________________________
 Unless otherwise stated above:
Marks and Spencer plc
Registered Office:
Waterside House
35 North Wharf Road
London
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know 
and then delete it from your system; you should not copy, disclose, or 
distribute its contents to anyone nor act in reliance on this e-mail, as this 
is prohibited and may be unlawful.

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

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

Reply via email to