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

Explanation

If the last operation on a file was a write, a read operation may not directly follow.

System action

The read operation fails.

Programmer response

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

Symbolic Feedback Code

EDC4SE