FTP ASCII file from Windows to Mainframe (iSeries) — special characters
Posted
by
MikeM
on Super User
See other posts from Super User
or by MikeM
Published on 2012-10-04T14:28:30Z
Indexed on
2012/10/06
15:41 UTC
Read the original article
Hit count: 635
I have a text file created on a Windows machine, the page coding used on the file is 1252
This file is then ftp'd to an iSeries machine for processing
As far as I can see, it appears on the iSeries. It has a CCSID of 037.
Sometimes this file contains French characters (e.g. é). When this happens, the FTP will fail with a truncation error as the french character gets converted to some extra junk: �.
The file is fixed block so the line does get truncated due to the one character turning into 3.
I can convert the French characters to characters without the accents before sending but would prefer to keep everything intact. So is there a way to retain them and send the file over properly?
I'm very green on iSeries, mainly a Windows guy.
© Super User or respective owner