Hi, I have created a module with CLOSQLCSR=*ENDMOD and I'm using a procedure in module from old RPG program which is using native I/O. Now when I use CLOSQLCSR=*ENDACTGPR, the OPD was getting reused but program is throwing error record locked as native I/O reads the same file in next step. Now to release lock I used CLOSQLCSR=*ENDMOD but now OPD is deleted every time. Please let me know how can I make my program reuse the ODP.
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!