i cant edit the code to put some display statements as i dont have authority to that pds
Suggest you get your manager to arrange a copy of the production source be placed in a pds you do
have access to. Compile that code and use the compiled output to identify the instruction that is failing.
With the compile listing and the dump, you should be able to see the "bad data". If abend-aid is in use on the system, it should already have shown the value causing the 0c7 and the compile listing would provide the instruction. . .
If there are still problems identifying, modify the copy of the source and insert some diagnostic displays to help isloate the record(s) in error.