Also, don't know what I was thinking when I said "assuming assembler." Although 
the Unicode Services API is very much "classic IBM z/OS assembler-like" it is 
supported from C/C++, and that is in fact how I am using it.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Charles Mills
Sent: Monday, September 23, 2013 4:57 PM
To: [email protected]
Subject: Re: UNICODE to EBCDIC

z/OS Unicode Services is an AWESOME facility but there is a little bit of a 
learning curve (or "coding curve" if there is such a thing). It will certainly 
handle whatever you need, assuming assembler is viable option for you.

"Unicode" is not a character set (or "format") -- it's a whole family of 
character sets. http://en.wikipedia.org/wiki/Unicode. If it's UTF-8 then you 
can do a 98% job if you just treat it as ASCII. If it's UTF-16 or UCS-2 you can 
do a 98% job if you just discard bytes 0, 2, 4, ... and treat bytes 1, 2, 5, 
... as ASCII.

There is actually a "Unicode EBCDIC" (UTF-EBCDIC) but it's pretty obscure.

Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Donald Likens
Sent: Monday, September 23, 2013 8:55 AM
To: [email protected]
Subject: UNICODE to EBCDIC

WebSphere Application Server supplies some of its information in its SMF 
records in Unicode format. Is there a facility available to convert Unicode to 
EBCDIC?

----------------------------------------------------------------------
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