|
Since they are fixed length records, you could have them ftp them directly into your externally defined file. Here's one idea though. Define the file internally as one big field. After you check each substring for data validity, then move the one big field into an external data structure based on the file itself. Then process the data structure fields as normal. Rob Berendt ================== "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Bruce Collins" <bacollins@twitchel To: <rpg400-l@midrange.com> lcorp.com> cc: Sent by: Fax to: rpg400-l-admin@midr Subject: RE: Accessing IFS from RPG ange.com 11/27/2001 02:17 PM Please respond to rpg400-l the people will send me files daily and the way I had thought to do it was to have them FTP them. They will be sending fixed length records in these files. They will be doing this from a PC. Please if you can see a better way then let me know. You will not hurt my feelings. <VBG> Hoss -----Original Message----- From: Dan Wiesner - CC [mailto:dwiesner@charter.net] Sent: Tuesday, November 27, 2001 12:58 PM To: rpg400-l@midrange.com Subject: Re: Accessing IFS from RPG You don't need to have people FTP to the IFS if you don't want to. Why are you using the IFS? Dan Wiesner ----- Original Message ----- From: "Bruce Collins" <bacollins@twitchellcorp.com> To: <rpg400-l@midrange.com> Sent: Tuesday, November 27, 2001 11:34 AM 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 _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.