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?