I am trying to create a natural code compare utility using the way suggested in one of the topic from this forum. Like
- In the first step of my JCL using NATCOMP to get the natural object (both Original and modified) into a PS file.
//CMSYNIN DD * NATCOMP ABCDO /* ORIGINAL CODE ORILIB /* ORIGINAL CODE LIBRARY ORIREG /* ORIGINAL CODE REGION ABCDM /* NEW CODE MODLIB /* NEW CODE LIBRARY MODREG /* NEW CODE REGION FIN /*
- Using SUPERC pgm (ISRSUPC) to compare the files.
But, If any line is inserted or deleted then line number of both object mismatches and due to that it gives lot of differences (just due to line number mismatch).I tried removing the line number from the code before compare it works but it won’t give the line number in comparison result. Could any one suggest the way to resolve this?
Also, how I can compare more than one object at single go.