×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
a quick thought would be to write a program to ask where you want to insert
your new record, and then have your program read the old file non keyed,
writing the results to a new file, and then insert your new record in the
new file, and then continue reading/writing the rest of your old records,
and then copy your new file, over the old one...

just a thought...

> -----Original Message-----
> From: Joep Beckeringh [SMTP:joep@beckeringh.myweb.nl]
> Sent: Tuesday, October 23, 2001 3:10 PM
> To:   rpg400-l@midrange.com
> Subject:      Re: Insert a record
>
> Mike,
>
> Would you care to explain why you want this?  Although it might be
> possible,
> but definitely not easy, to do what you describe, I can't help thinking
> there should be an easier to accomplish whatever you want to accomplish,
>
> Joep Beckeringh
>
> ----- Original Message -----
> From: "Condon, Mike" <M1C@ingersoll-imc.com>
> To: <rpg400-l@midrange.com>
> Sent: Monday, October 22, 2001 4:26 PM
> Subject: RE: Insert a record
>
>
> > Here's an example:
> >
> > File with records
> >
> > (RRN1) AAAA
> > (RRN2) BBBB
> > (RRN3) CCCC
> > (RRN4) DDDD
> >
> > I would like to insert record 1234 using RRN3 so the file looks like:
> > (RRN1) AAAA
> > (RRN2) BBBB
> > (RRN3) 1234
> > (RRN4) CCCC
> > (RRN5) DDDD
>
>
>
> _______________________________________________
> 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.