On Tue, 15 Jan 2008 11:27:45 -0600, Dave Kopischke wrote: > >An awkward solution would be to sort it in date sequence first, then SORT >dedupe. Multiple passes and not very elegant. But for a small file, who cares >?? > If the file is small enough, I do it with an editor.
Would it be better on the first pass do sort on name ascending major; date descending minor? Then the DEDUPE second pass would be almost trivial. Could MERGE EQUALS be used for the second pass? Will MERGE operate on a single input file, or would it require SORTIN02 DD DUMMY? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html