Here's the case where my program does several Read operations on a single file at different places. At one of the READ statements it throws error that the record is already locked to this Job. Apparently it would have got locked in one of the other READ operations, but is there a way I can find which previous READ operation locked the job. I tried looking at the dump but it has the last operation, file & statement as the one where the error has occurred.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!