Hiya Robert,

CCSID 1208 is a CCSID, not a code page. So, it won't work with STMFCODPAG, which specifies a code page. In newer releases, the CPYTOSTMF command has a STMFCCSID parameter for CCSID support, but I see you mention that you are still at V5R4 (despite that this is no longer supported by IBM...)

Still, it should be possible to solve your problem another way besides CPYTOSTMF. Can you explain what you plan to use this for?



On 10/22/2013 9:04 AM, Robert Mullis wrote:
I know this is not an RPG question, but I wasn't sure where else to post
it.



I have a flat file on the system that I am copying it to the IFS using
the CPYTOSTMF command. So far I am getting it to download successfully
with STMFCODPAG(*PCASCII). The vendor is requiring the data in this
STMF be in UTF-8 format. I have tried changing the CCSID on the
CPYTOSTMF command to STMFCODPAG(1208). Unfortunately, this errors out
telling me the conversion can't be performed.



Has anyone done this successfully before?



Thanks,

Robert





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2025 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.