I can identify the records I posted since the poster id field is a constant, and not available to anybody else.

John

-----Original message-----
From: "Neill Harper" neill.harper@xxxxxxxx
Date: Thu, 24 Sep 2009 16:46:38 -0500
To: "'Midrange Systems Technical Discussion'" midrange-l@xxxxxxxxxxxx
Subject: RE: Remove duplicate records

Can you be sure that all of the duplicates that exist on the file have been
caused by you re-running the program. Does the file have audit date stamps
on it? That way you could use some of the approaches already mentioned but
all check that the duplicate was created after the second time you re-ran
it. This way you might hang on to some genuine duplicates. Apologies if the
nature of the data means that duplicates are always wrong whether created
manually or automatically.

My one piece of advice would be to either save the file off before you fix
it, or if you are using sql turn on journaling.

Regards

Neill

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Pat Barber
Sent: 24 September 2009 21:53
To: Midrange Systems Technical Discussion
Subject: Re: Remove duplicate records

Not to make too simple but a very basic RPG program with a L1
on the fields that make it a duplicate would solve the duplicates in
a hurry.

Maybe 5 lines of code ?

Low risk ...high speed



jmmckee wrote:
The log number makes the rows unique. Other than that, the rows are
repeated three times.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


This thread ...


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

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