title: Compare two files and write it to "match" and "nomatch" files
body: <p>I have two input files, each with length of 5200 bytes. A seven byte key is used to compare both files, if there is a match then it needs to be written to "match" file but while writing to match file I need a few fields from <code>infile1</code> and all other fields from <code>infile2</code>. </p>
  
  <p>If there is no match then write to <code>no match</code> file.</p>
  
  <p>Is it possible to do it in <code>sort</code>? I know it can be easily done using COBOL program but just want to know in <code>SORT/ICETOOL/Easytrieve Plus (EZTPA00)</code>.</p>