MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 2013

Re: CPYFRMIMPF FROMCCSID(1201)



fixed

Gary,

I'm anxious to follow this thread as we've received UNICODE text files and
placed them directly onto the IFS. CPYFRMSTMF was then used to move to
physical file and we've experienced the same "extra" space between every
character.

Our solution was to open in NOTEPAD and save as "ANSI". That output text
file was then usable with the above...

Not an automated or sustainable solution, but one that I recall having to
work around after trying various combinations of CCSID with no success.

(V7R1)




On Tue, Apr 9, 2013 at 5:37 PM, Gary Thompson <gthompson@xxxxxxxxxxx> wrote:

My first attempt at "consuming" a .txt file in, I think, Unicode format
did not work as expected.

CPYFRMIMPF did copy the data to the local EBCDIC file, but the data
was still "double byte" (an "extra" space between each character).

I tried both
FROMCCSID(1201)
FROMCCSID(1200)

CCSID is described as UTF-16 BE and it seems to be a Windows "standard"
for text files.

Thanks for any advice . . .

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.









Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact