This one today is for the larger systems.
Here is a number that will get someone’s attention in a budget meeting faster than any chart you can build: how many objects on your system are within reach of a hard architectural limit.
Every IBM i shop is running toward limits it cannot see. The maximum number of members in a file. The maximum size of a journal receiver. The number of rows a table can hold. You almost never think about these, right up until the day a critical file hits one and a job that has run flawlessly for fifteen years suddenly fails at two in the morning.
You do not have to be surprised by this. IBM tracks it for you:
SELECT LIMIT_TYPE, LIMIT_NAME,
CURRENT_VALUE, MAXIMUM_VALUE,
(CURRENT_VALUE * 100) / MAXIMUM_VALUE AS PERCENT_USED,
LIBRARY_NAME, OBJECT_NAME
FROM SYSTOOLS.CHECK_SYSTEM_LIMITS
ORDER BY PERCENT_USED DESC
FETCH FIRST 20 ROWS ONLY;
That hands you your twenty closest calls, sorted by how full they are. Anything up near the top is a future outage with a countdown on it, and now you know about it while it is still a maintenance item instead of an emergency. You can do 50 rows if you want.
This is one of my favorite services precisely because it turns an invisible risk into a number. “We might hit a limit someday” moves nobody. “This file is at 87 percent of its maximum and growing” moves everybody, because it comes with a date attached.
Run it, sort it, and put the top few on your list before they put themselves there.
Have you ever actually hit one of these in production? The stories are always painful and always educational.
#IBMi #Power #SystemAdministration
Originally posted on LinkedIn. Join the conversation there.
Leave a Reply