EDC5005I
A write operation may not immediately follow a read operation.

Explanation

If the last operation on a non-VSAM file opened for record I/O was a read, a write operation may not directly follow.

System action

The write operation fails.

Programmer response

Invoke fflush(), rewind(), fseek(), or fsetpos() between the read and write operations on the file stream.

Symbolic Feedback Code

EDC4SD