On 3/26/2012 8:27 AM, Lloyd Fuller wrote:
UNICODE does, but not necessarily subsets of the full UNICODE. UTF-8 is a
subset and UTF-16 is a subset. I am not sure about UTF-32.
So It does not surprise me that UTF-8 does not have the Hebrew alphabet. I
believe (without checking the actual UNICODE description) that UTF-8 is
primarily the Latin character and its derivatives (i.e. the umlaut characters
and the accent characters). I think that you have to go to UTF-16 to get the
Hebrew, Cyrillic and Arabic characters. I think that UTF-16 also includes most
of the common Chinese and Japanese characters, but to get the full set you need
UTF-32.
Lloyd
No.
UTF-8, UTF-16, and UTF-32 all contain the same character set.
There are even mechanical algorithms for converting between
them, and these are encapsulated in the z Architecture
instructions:
CU24 (UTF-16 -> UTF-32)
CU42 (UTF-32 -> UTF-16)
CU41 (UTF-32 -> UTF-8)
CU14 (UTF-8 -> UTF-32)
CU21 (UTF-16 -> UTF-8)
CU12 (UTF-8 -> UTF-16)
----- Original Message ----
From: Steve Comstock<[email protected]>
To: [email protected]
Sent: Mon, March 26, 2012 9:18:17 AM
Subject: Re: z/OS ftp and Unicode
On 3/26/2012 7:12 AM, McKown, John wrote:
I don't know if this will help, but I did the following (but I don't have
anything actually in IBM-424)
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
ftp lih1
Connected to lih1.uicnrh.dom.
220-FTP 08:07:14 on 2012-03-26.
220-This is HealthMarkets.
220-Unauthorized access is strictly prohibited.
220 Connection will close if idle for more than 50 minutes.
User (lih1.uicnrh.dom:(none)): tsh009
331 Send password please.
Password:
230-You have successfully logged on to the LIH1 ftp server.
230 TSH009 is logged on. Working directory is "TSH009.".
ftp> quote site sbdataconn=(IBM-424,UTF-8)
200-Some characters cannot be translated between UTF-8 and IBM-424
Whoa! That's startling. I thought Unicode encompassed all the
world's character sets; how can a character not translate?
200 SITE command was accepted
ftp> cd /home/tsh009
250 HFS directory /home/tsh009 is the current working directory
ftp> get crontab.txt
200 Port request OK.
125-Tagged EBCDIC file translated with table built using file system
cp=IBM-1047
, network transfer cp=UTF-8
125 Sending data set /home/tsh009/crontab.txt
250 Transfer completed successfully.
ftp: 40 bytes received in 0.00Seconds 40000.00Kbytes/sec.
ftp>
--
John McKown
Systems Engineer IV
IT
Administrative Services Group
HealthMarkets®
9151 Boulevard 26 • N. Richland Hills • TX 76010
(817) 255-3225 phone •
[email protected] • www.HealthMarkets.com
Confidentiality Notice: This e-mail message may contain confidential or
proprietary information. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message.
HealthMarkets® is the brand name for products underwritten and issued by the
insurance subsidiaries of HealthMarkets, Inc. –The Chesapeake Life Insurance
Company®, Mid-West National Life Insurance Company of TennesseeSM and The MEGA
Life and Health Insurance Company.SM
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[email protected]] On Behalf Of ??? ?? ???
Sent: Monday, March 26, 2012 7:23 AM
To: [email protected]
Subject: Re: z/OS ftp and Unicode
I'm not sure what you mean buy CCSID, but the data is encoded
in IBM-424 EBCDIC - Hebrew New Code.
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[email protected]] On Behalf Of McKown, John
Sent: Monday, March 26, 2012 2:20 PM
To: [email protected]
Subject: Re: z/OS ftp and Unicode
What is CCSID of the data on z/OS? By Unicode, do you mean
UTF-8, UTF-16, or UTF-32 on Windows? The basic command is the
SBDATACONN
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/f1a
1b4b0/18.109
--
John McKown
Systems Engineer IV
IT
Administrative Services Group
HealthMarkets®
9151 Boulevard 26 • N. Richland Hills • TX 76010
(817) 255-3225 phone •
[email protected] • www.HealthMarkets.com
Confidentiality Notice: This e-mail message may contain
confidential or proprietary information. If you are not the
intended recipient, please contact the sender by reply e-mail
and destroy all copies of the original message.
HealthMarkets® is the brand name for products underwritten
and issued by the insurance subsidiaries of HealthMarkets,
Inc. –The Chesapeake Life Insurance Company®, Mid-West
National Life Insurance Company of TennesseeSM and The MEGA
Life and Health Insurance Company.SM
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[email protected]] On Behalf Of ??? ?? ???
Sent: Monday, March 26, 2012 3:49 AM
To: [email protected]
Subject: z/OS ftp and Unicode
Can anyone show me how to transfer a file from z/OS to
windows using the windows ftp client so that the resulting
file on windows is Unicode.
The source file on z/OS will be EBCDIC.
We are using z/OS v1.11.
Unicode services are enabled on z/OS.
Thanks
Gadi
--
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-355-2752
http://www.trainersfriend.com
* To get a good Return on your Investment, first make an investment!
+ Training your people is an excellent investment
* Try our tool for calculating your Return On Investment
for training dollars at
http://www.trainersfriend.com/ROI/roi.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN