To compare two sequential or partitioned data sets you can use the MFJMATCH utility. MFJMATCH works in two modes, depending on the EXEC statement you use to invoke it:
This section describes how to use MFJMATCH to emulate the IEBCOMPR mainframe utility. For information on using the non-IEBCOMPR version of MFJMATCH, see the section Comparing Data Sets (MFJMATCH).