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



You need a program to do this.  From your example, read RRN3, save all the
data values, update RRN3 with the field values you wish to "insert", read
RRN4, save all its data values, update RRN4 with the field values you saved
from RRN3, and so on.





"Condon, Mike" <M1C@ingersoll-imc.com>@midrange.com on 10/22/2001 10:26:26
AM

Please respond to rpg400-l@midrange.com

Sent by:  rpg400-l-admin@midrange.com


To:   "'rpg400-l@midrange.com'" <rpg400-l@midrange.com>
cc:
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


-----Original Message-----
From: bill.reger@convergys.com [mailto:bill.reger@convergys.com]
Sent: Monday, October 22, 2001 9:00 AM
To: rpg400-l@midrange.com
Subject: RE: Insert a record



Mike,

This is a bit confusing to us.  Are you wishing to specify a RRN that is a
deleted record so that you can "insert" a record over the top of a deleted
record?  If this is your intent, you must "undelete" the RRN first and then
update it.

Bill




"Condon, Mike" <M1C@ingersoll-imc.com>@midrange.com on 10/22/2001 09:53:29
AM

Please respond to rpg400-l@midrange.com

Sent by:  rpg400-l-admin@midrange.com


To:   "'rpg400-l@midrange.com'" <rpg400-l@midrange.com>
cc:
Subject:  RE: Insert a record


Yes, exactly.

-----Original Message-----
From: Booth Martin [mailto:Booth@MartinVT.com]
Sent: Monday, October 22, 2001 8:39 AM
To: rpg400-l@midrange.com
Subject: Re: Insert a record


"Insert" implies to me that you wish to place the new record in the midst
of
existing records?

--------------------------------------------
Booth Martin
Boothm@Goddard.edu
802-454-8315 x235
--------------------------------------------
-------Original Message-------
From: rpg400-l@midrange.com
Date: Monday, October 22, 2001 09:21:31 AM
To: 'rpg400-l@midrange.com'
Subject: Insert a record
Is there a way to insert a record into a physical file using the relative
record number?
_______________________________________________
_______________________________________________
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.
_______________________________________________
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.




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.


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




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.




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.