McKown, John wrote:
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Steve Comstock
Sent: Saturday, September 02, 2006 11:19 AM
To: [email protected]
Subject: Re: Converting data into Unicode



<snip>

Dave,

I'm working on a utility to convert EBCDIC files to
UTF-8 or UTF-16; you should probably do a conversion
like that first, then do the FTP as binary.



<snip>

Kind regards,

-Steve Comstock


Why do you need to write a utility? Won't the UNIX "iconv" program work?

iconv -f IBM-037 -t UCS-2 <input.EBCDIC >output.UCS2

--
John McKown

Well, from a z/OS UNIX command line or a shell script,
sure. You can also call the c function. I'm looking to
create a utility that allows encoding conversions,
formatting all or part of records into x/html, and some
other features. It can run in batch or be invoked by a
browser, maybe even called as a subroutine. Still in
design stages.

Kind regards,

-Steve Comstock

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to