File open error – AS/400 question

440 pts.
Tags:
AS/400
RPG Programs
As/400 question: 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?
ASKED: February 6, 2013  7:58 AM
UPDATED: February 7, 2013  2:58 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    A better description of the error is needed. I'm not aware of any error worded anything like that. It sounds as if a very specific condition is being asked about, but it's not at all clear what it is. And it's definitely not clear why the two would be considered different. However, neither of those is necessarily related to a USROPN file. -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following