The fact that you have a damaged object in QSYS stinks. I hate to hear that so now lets figure out how to fix that thing.
- You could IPL. An IPL will/might correct it. It’s not a 100% fix but it has been known to work. If you have IPLed then we need to move on.
- I did find this explanation on the web and have used it before:
We had the same problem once and I found the following note which we made when fixing the problem:
When a partly damaged file was found, a copy was done from the damaged file to a new, this is how the cpyf looked like
The command leaves you with a new file without errors and a list telling how many records that was found with error.
It is very important to have FROMRCD(1), if the file is keyed.
I am not 100% that will work either but it’s worth a shot.
- You also might want to do a RCLSTG with your system in a restricted state.
LINK TO IBM iSeries Info Center
NOTE: I will wait to here what you happens and what you used to try and fix the problem and the outcome before posting more.