A program could no longer be launched from an AS/400 menu. I found an account of that incident in my old blog from 2024.
The mechanism added to investigate trouble had become the cause of trouble. And I was the person who had added it.
To investigate some puzzling behavior, I had started recording who ran which program from which terminal. I also recorded the time when the menu called a program and when control returned. That history was our log.

But I had underestimated how many records its file would need to hold. As records accumulated, it reached its configured limit. The system issued an inquiry message requiring a response, and processing stopped.
The business program itself was not the problem. The part recording its activity was blocking the way. The observer had appointed itself gatekeeper!
According to that post, the reported screen gave me a good idea of the cause. I first increased the file’s record limit. The response took about ten minutes, but it only bought time. If records kept accumulating, the problem could return.
For a lasting remedy, I described keeping two months of logs, deleting older records, and enabling reuse of deleted record space.
A technical clarification from today’s perspective: this was a configured record-count limit for a file member, not a report that the entire disk was full. REUSEDLT(*YES) lets new writes reuse deleted record space, but processing that depends on arrival order or relative record numbers needs care. Complete reuse of all deleted space is not guaranteed either.
Keeping two months of history does not, by itself, remove every capacity concern. Record growth and the way the file is used still matter.
A log helps explain what happened. Making sure it can keep recording, and deciding when to clear out old history, are also part of the developer’s job.
My investigative aid had stopped the work it was meant to observe. Rereading my own old post gave me another opportunity to learn that lesson.
Adapted from my August 27, 2024 post about programs no longer launching from a menu. The response is from my account at the time; technical cautions are present-day additions.
References