How do you find the AS400 Operating System Version? Most of the time, you’re looking for the Version and Release. i.e. V5R4
I find myself searching the internet every couple of months when I forget one of the many commands to do this.
Here are a couple ways:
From the command line, you can use the following command to display the data area that stores the operating system version and language.
DSPDTAARA QSS1MRI
While this command will let you see the operating system version from a command line, what if you need the version in a program? There are many ways to do this, however after some research there only appears to be one way that is officially supported by IBM. Using the QSZRTVPR API. The link to the official IBM documentation on the API is here: