John McKown wrote:
On Fri, 16 Jan 2009 11:49:58 -0600, Kirk Wolf <[email protected]> wrote:

John,

You could write a simple Java program to convert from UTF-16LE to
IBM-1047/IBM-037.
Java supports UTF-16 encoding as its native encoding for characters, but
uses a BOM to determine endian, whereas UTF-16LE does not.

Not missing an opportunity to post *you* some code, here's some Java that
should work ;-)

<snip>
If you wanted to go to a dataset, you could use the JZOS ZFile class;
otherwise you could run your program on either Windows or z/OS and FTP the
file in binary.

Kirk Wolf
Dovetailed Technologies

Many thanks! I don't know if my boss will go for this or not. I just ordered
z/OS 1.10, which supposedly can handle UTF-16. Of course, that's going to
take a while to get in and installed.

I don't understand that comment above, "z/OS 1.10, which supposedly
can handle UTF-16". There is quite a bit of Unicode support in z/OS
before 1.10. What, specifically, do you find added that would help
you in this little adventure?



Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

==> Check out the Trainer's Friend Store to purchase z/OS  <==
==> application developer toolkits. Sample code in four    <==
==> programming languages, JCL to Assemble or compile,     <==
==> bind and test.                                         <==
==>   http://www.trainersfriend.com/TTFStore/index.html    <==

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