× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I recommend that you make a simple program that reads original file and writes 
to another file. 

It's easy to write and fast to run.

Remember that you can override the input file to member(*ALL) and then get the 
input member name from File Information Data Structure (remember: No 
buffering). 

AFTER checking the resulting source it's easy to do a cpyf back frommbr(*ALL) 
tombr(*FROMMBR) mbropt(*REPLACE)

Henrik
http://hkrebs.dk

> 
> At 03:18 PM 3/26/2003 -0500, you wrote:
> >We are trying to search through all our program source members looking for 
> >a specific file, and if found, insert a line of source via an RPGLE 
> >program.  When writing the new line of source, we set the sequence number 
> >(SRCSEQ)to be between the two lines where we want to add the new 
> >line.  When the program ends and we look at the source via SEU, the new 
> >lines are always at the end.  The system automagically resets the sequence 
> ># of the new lines.  How do we get around this?
> >
> >David Smith
> >Tri-State Hospital Supply Corp.
> >IT Consultant
> >dsmith@xxxxxxxxx
> >517.546.5400




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-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.