When did you last read your system values?

Your system values are your machine’s personality. They shape how it behaves in a hundred small ways, and most were set once, years ago, by someone who may no longer work there. When did you last actually read them?

You can put the whole configuration in front of you in one query:

SELECT SYSTEM_VALUE_NAME,
      CURRENT_NUMERIC_VALUE,
      CURRENT_CHARACTER_VALUE
 FROM QSYS2.SYSTEM_VALUE_INFO
 ORDER BY SYSTEM_VALUE_NAME;

That is every system value on your box, its current setting, right there to read and to save.

Here is why this is worth an hour. System values drift. Somebody changes QMAXSIGN during an incident and never changes it back. QSECURITY is sitting at a level someone was afraid to raise a decade ago. QPWDEXPITV, your password expiration interval, is set to something that would not survive an audit. QCRTAUT, which quietly governs the default authority on every new object you create, is more permissive than anyone realizes. None of these announce themselves. They just sit there shaping your system’s behavior and its security posture until someone finally looks. It’s the first thing I check when someone asks me to review their system.

The move I would make with this is simple and powerful. Run it, export the result, and keep it. Now you have a documented baseline of exactly how your system was configured on this date. The next time something behaves unexpectedly, you can compare against it and see what changed. And you have handed your future self, or your successor, an enormous gift: a written record of the settings that took years of accumulated decisions to arrive at. Well, some were decisions; some were rash changes based on all the systems I have seen in my life.

Read your system values this week. You will almost certainly find at least one that makes you say, “Why on earth is that set that way?” You may also say a few curses based upon what you see. That is the value of looking.

Originally posted on LinkedIn. Join the conversation there.

Get new posts by email

Practical IBM i tips on SQL services, security and backup, sent when I publish. No spam, unsubscribe anytime.

Leave a Reply