On Fri, 6 Jul 2018 06:49:38 -0500, Elardus Engelbrecht wrote: > >The example I posted may help you, but please note, the contents are first >sorted and then records which are the same in both files are copied into one >file and records which appear once in either will be copied to the right >output. > Does it report if the two files contain the same records but in different order? This may or may not matter to the OP.
>>Since you don't say what will happens when you get a record which appears in >>file 1 or file 2 or in both files, look at >> >>https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.icea100/ice2ca_Example_3_-_Create_files_with_matching_and_non-matching_records.htm >> >>I quote from above URL: >> >>This example shows how you can match records in input data sets 1 and 2 to >>produce three output data sets with: >> >> ON fields that appear in both input data set 1 and input data set 2 >> ON fields that appear only in input data set 1 >> ON fields that appear only in input data set 2 -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
