In an RPG program, During a WRITE operation to a file, I am getting the error - file open error during write operation. What could be the reason behind this and how can we go ahead with the analysis?
As per my understanding.
File open error usually occurs when the file is closed and you are trying to read or write the file. This occurs when you are trying to use USROPN and may be the file has been closed before the write operation.
It was also mentioned that we are not getting "File open error" but we are getting "File open during write operation" error. Both are different.
Can anyone throw some light on this please?
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!