RPG display file stops compiling
Posted on 2014-02-19
I have a very strange problem to report.
Sometimes when I'm programming in RPG, I will have to compile my display file.
Randomly my display file started giving an error; even after I haven't made any changes to it.
The error reads: 40 - "Cannot allocate object [filename] in [username] type *FILE."
40 - " File [filename] not created in library [directory]."
If I rename the display file to something else and change in my code every place the display file was mentioned, the file works fine, and will compile a few more times.
Then the same thing happens all over again.
Is there someone who has had a similar problem? Is it a setting on the server?
There are no active processes that I can see.
I can't really post all of my code here. I'm just curious as to why this happens.