×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Depending on your exact need, CPYFRMIMPF may do what you want.  If the data
is fixed length (fielded) text, FTP to a database file might work.  If you
need to parse out the data, you'll need to look into the UNIX Type APIs.
The RPG Redbook (Sorcer's Guide...) has a good introduction with lots of
sample code.  I think reading IFS files directly with RPG is probably the
slowest method.

This really isn't much different from processing a tape from an external
source.

> -----Original Message-----
> From: Bruce Collins [mailto:bacollins@twitchellcorp.com]
> Sent: Tuesday, November 27, 2001 9:35 AM
> To: rpg400-l@midrange.com
> Subject: Accessing IFS from RPG
>
>
> I am wanting my customers to ftp files to my AS400. I then want to be
> able to pull the data from these files and build Externally Described
> files on the AS/400 to hold the data. Has anyone done this and if so
> could I get some examples.
>
> TIA
>
> Bruce Collins
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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