The IFS apis will do any conversion you need, if your Pipe delimited file is
just going to be one big long record in a single field I'd just write a
quick program that does the following

Open an IFS file In Textmode using o_text_creat "conversion id" = 1200 "text
file creation conversion id" = 939
For every record in the file write the field to the ifs file followed by cr
lf
Close the ifs file

I spent a bit of time wrapping the ifs methods so i didn't keep having to go
back to the api docs, I have methods a bit similar to what you might expect
to find .net, i.e. createText, createBinary, AppendText, AppendBinary.


Neill
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of sjl
Sent: 26 February 2010 17:19
To: midrange-l@xxxxxxxxxxxx
Subject: Unicode

All -

In our Japan (JDE) environment, all files/fields are specified as
CCSID(65535).
The data in the files is encoded in CCSID(939).

What are my options for extracting and converting this data into a UTF-16
file to send to a BI system running on a Windows server? They want a
pipe-delimited Unicode file.

If I build a pipe-delimited text file that is CCSID(939) from the JDE file,
will CPYTOIMPF convert the data to Unicode for me?

Regards,
Steve







This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.