×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Dan,
Which file system are you going to? If it's QSYS, then create the file
before you do the transfer and, if necessary, specify the CCSID that you
want, ex. 037. If it's the IFS then you should be able to specify the
CCSID when starting ftp. If neither of these suggestions work, then
type ftp at the command prompt and press F4 then F9. You should see
Additional Parameters
Outgoing EBCDIC/ASCII table . . TBLFTPOUT *CCSID
Library . . . . . . . . . . .
Incoming ASCII/EBCDIC table . . TBLFTPIN *CCSID
Library . . . . . . . . . . .
There are a lot of xlation tables available such as QSYS/QEBCDIC.
Unfortunately, the only way I know of the find them is to do a dspobj
*all *tbl and look through them. They usually have the work translate in
them and you may spot them by looking for something like 'CHRID(*N 1009)
to CHRID(11', if they are relevant to ftp, so that they are relatively
easy to spot - but there are a lot of them. See
http://archive.midrange.com/rpg400-l/200104/msg00486.html for
information on how to create your own table.
Hope this helps,
Mike
Dan wrote:
I have an iSeries application that performs a file transfer to get a file
from a Windows server via FTP.
When the file is received on the iSeries, it has a CCSID of 500. Left and
right brackets appear on the iSeries file as a cent sign and exclamation
point, respectively. When I do the FTP on my PC and view the file in
notepad or any editor, the brackets appear as expected.
The iSeries application is expecting the brackets, and I'd like to have the
characters translated correctly.
There is a CCSID parameter on the FTP command, but it did not like 37 nor
500, so I obviously am missing the point of this parameter.
Specific RTFMs or even outright solutions would be greatly appreciated!
- Dan
As an Amazon Associate we earn from qualifying purchases.
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.