|
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: dboring@shl.com >---------- >Date: Fri, 12 Dec 1997 10:02:39 -0500 >From: Richard Baird <rbbaird@premsys.com> >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: david@midrange.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: 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.