Radoslaw, I forgot to ask these questions:
Do you want a line by line comparision (same output as with ISPF compare)? Could you be kind to post a sample input and output? Also show how you want the differences to be handled. This is to enable IBM-MAIN members to select the best solution for you. 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. Groete / Greetings Elardus Engelbrecht >Radoslaw Skorupka wrote: > >>We have two output files, rather huge ones (rather gigabytes than MB's) with >>LRECL~1500, FB. >>The goal is to compare them and find different records. >>While I have some ideas how to do it (even ISPF Compare or ICETOOL) I don't >>think it would effective. > >>Any clues? > >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 > >HTH! > >Groete / Greetings >Elardus Engelbrecht > >---------------------------------------------------------------------- >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
