|
At L1 time we would save it as a work field. At non-L1 time we'd have a duplicate and would print a line with the key and both RRN numbers. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: Midrange Systems Technical Discussion Date: 1/7/2004 7:18:14 AM To: Midrange Systems Technical Discussion Subject: RE: Using SQL to check for duplicate records And when would you activate that, at control break time? If so, then how would it know both the rrn of first duplicate, and the second duplicate? Rob Berendt -- "All creatures will make merry... under pain of death." -Ming the Merciless (Flash Gordon) "Booth Martin" <Booth@xxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 01/06/2004 05:16 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To <midrange-l@xxxxxxxxxxxx> cc Fax to Subject RE: Using SQL to check for duplicate records Yes. FGCKFL3 IP E K DISK INFDS(DB3) BLOCK(*NO) * .................................................. * Get the record Number, to know which record to update/process: D DB3 DS D DB3RRN 397 400B 0 --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: Midrange Systems Technical Discussion Date: 1/6/2004 4:02:53 PM To: Midrange Systems Technical Discussion Subject: RE: Using SQL to check for duplicate records Would that method display the RRN's of both duplicates? Rob Berendt -- "All creatures will make merry... under pain of death." -Ming the Merciless (Flash Gordon) "Booth Martin" <Booth@xxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 01/06/2004 04:43 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To <midrange-l@xxxxxxxxxxxx> cc Fax to Subject RE: Using SQL to check for duplicate records ahhhhh the joys of using RPG the way it was intended... Such an easy problem with an L1 break and using the INFDS for the input/primary file. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- _______________________________________________ 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.
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.