Thanks Cameron.. good point. Using Host on Demand, it appears that the default in HOD is 1146. Using StandaloneHOD that comes with v12 or v13 HOD, I set the codepage to "1047 Open Edition" (I don't see any entry for just.. 1047). ... and looking at the source dataset, I see $.
Strange.. I wonder how no app person using HOD has ever complained about this yet.. – Vignesh Mainframe Infrastructure -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Cameron Conacher Sent: 06 September 2018 16:30 To: [email protected] Subject: [EXTERNAL] Re: Co:Z question One quick thought is that perhaps you are looking at the mainframe data with an emulator that does not use EBCDIC CODEPAGE 1047? You appear to be transferring data from the mainframe and have specified a transformation from EBCDIC CodePage 1047 to ASCII ISO-8859-1. The Pound Sterling sign in EBCDIC CodePage 1047 is x'B1'. If you look at your mainframe data in hex, is this the value you see? In ISO-8859-1, the Pound Sterling sign is x'A3'. Since you are instead seeing a Dollar Sign in ISO-8859-1 (x'24'), then I would expect to see an underlying hex value of x'5B' for the mainframe EBCDIC CodePage 1047 data. Can you use a hex editor on both platforms and share what you see for the hex values of the character in the mainframe as well as on your distributed platform, post-transformation? Maybe then I can help make sense of what is happening. .......Cameron On Thu, Sep 6, 2018 at 9:14 AM Sankaranarayanan, Vignesh < [email protected]> wrote: > Hello! > > 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) > > This is the output for 'locale' in the target RHEL machine: > -sh-4.2$ locale > LANG=en_GB.UTF-8 > LC_CTYPE="en_GB.UTF-8" > LC_NUMERIC="en_GB.UTF-8" > LC_TIME="en_GB.UTF-8" > LC_COLLATE="en_GB.UTF-8" > LC_MONETARY="en_GB.UTF-8" > LC_MESSAGES="en_GB.UTF-8" > LC_PAPER="en_GB.UTF-8" > LC_NAME="en_GB.UTF-8" > LC_ADDRESS="en_GB.UTF-8" > LC_TELEPHONE="en_GB.UTF-8" > LC_MEASUREMENT="en_GB.UTF-8" > LC_IDENTIFICATION="en_GB.UTF-8" > LC_ALL= > -sh-4.2$ > > > Can you please help / suggest on how to maintain the £.... > > > - Vignesh > Mainframe Infrastructure > > > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
