RE: RE: source file download via CA/400 Try Writing an RPG program that reads the source file and writes directly to the IFS (QDLS if you want) to a .TXT or .DOC type file. You can even do it in batch or some automated vehicle. Make your own command give it the source member name, To PATH name and there you have it. I'm doing the same thing right now. See Midrange Computing Dec 97 Ted Holtz article for a sample pgm. Julian Monypenny on News/400 web for other ideas. You can even read the IFS(PC) files into an RPG program. See the thread on PC FILE FORMATS John Carr EdgeTech David Boring Systems Engineer MCI Systemhouse Direct: (562) 809-5460 E-mail: email@example.com >---------- >Date: Fri, 12 Dec 1997 10:02:39 -0500 >From: Richard Baird <firstname.lastname@example.org> >Subject: source file download via CA/400 > >Seasons greetings!!! > >I was wondering if someone could help me with a minor problem. > >We're doing a lot of cgi programming for web pages using rpg. We store >the html in source file members on the as400. > >Typically, our html developers design the pages on PCs, and I transfer >them to the 400 via client access. The problem is that, sometimes, I >need to do the reverse - download the files to a pc, so that the web >developers can make changes. > >The problem lies in the fixed record length nature of source files. All >the records have padded spaces at the end, making it more difficult to >edit using pc based editors. It's not a big deal, just an annoyance. > >My question is this, does anyone have a decent way of downloading fixed >length records, but only transfering the non-blank portions of the >records, I assume by somehow appending a carriage return to the end of >each record? > >Thanks in advance, > >rick > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: email@example.com +--- uucp +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.