Thanks NicC for your suggestion.
Yes but why not just write a COBOL program for each file and convert to a common format and use SUPERC to compare. Or one program to read both files using their respective copybooks, copy each matching record into compatible working storage records and compare these?
I wanted to build an interactive utility where user just enters the filenames and their respective copybook names and get the desired results.Thats why I was considering to use REXX. Can you throw some light on how can we do this with REXX ?
if using REXX, is parsing the only way to do it? and how can we convert the COMPs into some other format?