|
On Tuesday 09 January 2001 00:57, you wrote: > On 8 Jan 2001, at 20:21, Carel Teijgeler wrote: > > Gary Kuznitz wrote: > > > Is there by chance anyone that knows where I could find a program > > > that would automate the process of splitting up the source code > > > files from MidrangeComputing.com placing them in their proper > > > source file. I'll try to explain this better. When a file is > > > downloaded from http://www.midrangecomputing.com/mc/code.cfm it is > > > neatly identified as to which is part of the file is CL, RPG, CMD > > > * Begin Member - DSPUSRSC, Type - CMD > > > * * Begin Member - SCN001CL, Type - CLP > > > * * Begin Member - SCN001DF, Type - DSP > > > * * Begin Member - SCN001RG, Type - RPG > > > > > > * > > > > > > They come all in one txt file. Does anyone know where I could > > > find a program that would create a source member in the > > > appropriate source file and copy the code into it? I'm amazed > > > over the years that someone hasn't put it on their web site under > > > the link "How do I load the code onto the AS/400 once I've got > > > it?" TIA Gary Kuznitz Hi Gary You could modify my SRCPARSER program to do the trick. I distribute my utilities as a single source member and use the parser (just one CL program) to split the members up at ::PARSER:: boundaries, similar to the above. Any of my packages have it, but if you're not interested in them (sob, sob) just grab the link below. http://www.dbg400.fsnet.co.uk/download/extras/wrkusrcrt/SRCPARSER.MBR Regards, Martin -- martin@dbg400.net / jamaro@firstlinux.net http://www.dbg400.net DBG/400 - DataBase Generation utilities Free test environment tools for the AS/400 and misc other stuff +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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.