Um, no. Two file matches don't work too well without a sort.
It all could be done in DB2 using INSERT and report duplicates though. On Tue, Aug 3, 2010 at 9:18 PM, Paul Gilmartin <[email protected]> wrote: > On Tue, 3 Aug 2010 09:12:13 +1000, Wayne Bickerdike wrote: > >>The REXX I referred to was written by David McRitchie. >> >>So to use this REXX you would append a '1' to dataset 1 say in cc 1 >>and a '2' to dataset 2. >> >>Merge the two datasets and sort on cc 2,n and 1,1. >> >>The command REMDUP .a .b 2 81 NXDUP ; del all nx ;res >> >>Will leave just the unique entries behind (assume LRECL 80 of original >>dataset). >> > Will this report data sets which contain identical records in > different order? The sort step would appear to obliterate this > information. > > -- 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 > -- Wayne V. Bickerdike ---------------------------------------------------------------------- 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

