I want to compare 2 sorted files on a particular field and write the matched records of the first file in the 3rd output file. how can I do it using jcl sort card and using join keys and reformat fields?
The sample files are
File A
123 rohan mumbai
234 sanu chennai
456 aaaa delhi
File B
123 d23 1234.60
345 d45 1456.90
456 d67 3456.00
output file
123 rohan mumbai
456 aaaa delhi