Ask the Expert

Incorrect CCSID on FTP connection from AS/400 to Windows

I am trying to connect an FTP a file on Windows to iSeries. I make the FTP connection to the iSeries machine but the file does not transfer with the correct CCSID. The destination is a defined file/member with CCSID 13488 (graphic) field. I have mixed Japanese and English characters in the file. It is on the Windows machine as UTF-8.
Try to define the destination file tagged with CCSID of 1200 and send the file binary to the AS/400, this may solve it. If not, the safest approach I saw is putting it in BIN mode to the IFS.

CD/TMP
quote type c 1200
put somefile ifsfile
quit

Then to CPYFRM STMF from IFSFILE to the target.

This was first published in July 2009

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: