You should create a new physical file with no packed fields and transfer
the data to it.  Then FTP that file.  You can not FTP a packed field.

----------
> From: mbuda <mbuda@coleparmer.com>
> To: RPG400-L@midrange.com
> Subject: FTP
> Date: Monday, December 01, 1997 3:36 PM
> 
>      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.
>      
>      Am I doing something wrong ?  Is there a better way ?
>      I am a TCPIP novice so your help is greatly appreciated.
>      
>      Thanks
>      
>      Max
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * 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          *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...


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

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