Gil, I agree with you.
However, you may be replying to the wrong post. I was simply commenting on what I know as normal behavior when a sorting utility deletes duplicate keys or records. Ron > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Paul Gilmartin > Sent: Sunday, August 18, 2013 4:45 PM > To: [email protected] > Subject: Re: [IBM-MAIN] comparing binary file > > On Sun, 18 Aug 2013 15:48:17 -0700, Ron Hawkins wrote: > > > >A > >B > > > >Just omit the duplicates, but keep the 1st one... > > > >> On Thu, 15 Aug 2013 17:24:43 +0300, Itschak Mugzach wrote: > >> > >> >Or sort with omit duplicates... > >> > > Sorting would seem to be counterproductive when comparing files. > Two files which differ only in the order of their records will appear > identical > when sorted. > > Of course, only if the files are considered as sets (not multisets) of > records, > with order being irrelvant, sorting is useful. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
