I am trying to compare 2 ISAM [RM/COBOL] files as below :
a. 2 version of same RM/COBOL [ISAM] file. [Say file1 and file2]
b. Trying to compare using Cobol program.
c. Each file around 41M records. and record length is about 500 Bytes [FB]
d. Compare program is taking about 1 hours and 40 mins.
e. Recovered each file then try to compile files. Still around same result.
f. I copied file1 to file1new and file2 to file2new [RM/COBOL file - ISAM].
g. Tried to compare file1new and file2 new. Compare program took 7 mins.
Is it possible to rebuilt file1 and file2 so that 7 mins performance could be obtained ? [ Since I cannot file in Prod]
How to identify file problem [so that check our entire file repository for such issue] ?
Please excuse me if this topic is already discussed previously. [I tired but not able to find].