|
>At 02:36 PM 12/1/97 -0600, mbuda wrote: >> I need your expertise. >> I need to transfer data between an AS/400 and a PC. Some of the >> fields in the AS/400 file(s) are packed. I am using FTP and >> unfortunately, I am not having any luck with the packed fields. >> The data is transferring but it doesn't seem to be converting from >> EBCDIC to ASCII. I do have the type set to ASCII. > >You'll have to create a new physical file and specify that the numeric >fields are zoned instead of packed. > >The only data translation that FTP does is EBCDIC to ASCII... you have to >take care of everything else. One "easy" way to do that it to copy your DDS to another member, change all the "P" to "S" and compile. Then CPYF your file with the packed fields to the file with the signed fields FMTOPT(*MAP). Buck Calabro Commsoft * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.