Hi,
I have read the other finding and removing duplicate posts on here but they all seem to be about removing duplicates. I am just trying to find them in large file with over 100,000 records in it. The file is already sorted on the proper key order and so doing a sort I don't see as helping me.
Here is a small sample data set. (though it doesn't look like it.. all records are the same length.)
00560000000012345600004196155000000FP JENS0200508010808 00040004
00560000000022345600004224262000000FP JENS0200508010808 00040004
00560000000038764200001122222012000FP BOBS0200508010808 00040004
00560000000048764200001122342012000FP BOBS0200508010808 00040004
What I want to do is compare the bolded columns (13-29) in each record, to the same columns in the following record to verify that it does not the same record. If it does I want all instances of the original and its duplicate listed out into a new tab, or even the usual 'find dialog' box would be cool.
Another acceptable solution would be to compare those columns to those columns in the rest of the file, but I think that would be a lot of unneccesary work that would need to be completed.
I have never created a Macro in UltraEdit so I was hoping someone might be able to help me out with this one.
Thanks,
Christopher
I have read the other finding and removing duplicate posts on here but they all seem to be about removing duplicates. I am just trying to find them in large file with over 100,000 records in it. The file is already sorted on the proper key order and so doing a sort I don't see as helping me.
Here is a small sample data set. (though it doesn't look like it.. all records are the same length.)
00560000000012345600004196155000000FP JENS0200508010808 00040004
00560000000022345600004224262000000FP JENS0200508010808 00040004
00560000000038764200001122222012000FP BOBS0200508010808 00040004
00560000000048764200001122342012000FP BOBS0200508010808 00040004
What I want to do is compare the bolded columns (13-29) in each record, to the same columns in the following record to verify that it does not the same record. If it does I want all instances of the original and its duplicate listed out into a new tab, or even the usual 'find dialog' box would be cool.
Another acceptable solution would be to compare those columns to those columns in the rest of the file, but I think that would be a lot of unneccesary work that would need to be completed.
I have never created a Macro in UltraEdit so I was hoping someone might be able to help me out with this one.
Thanks,
Christopher