William Blackmon : I'm confused by the setup of your problem. How likely is that observations in the first file are repeated in the second file (and vice-versa)? Do all observations in the first file are expected to have one (or many) matches in the second file?
In any case, you could use duplicates to help you eliminate cases. For instance,
will keep only the best score for each id1 in my previous example posted in #3. Beware that you may miss cases with identical superscore3 within the same id1.
In any case, you could use duplicates to help you eliminate cases. For instance,
Code:
gsort id1 -superscore3 duplicates drop id1, force
Comment