AS400 Display Operating System Version

April 7th, 2011

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:

QSZRTVPR API

First Post!

March 23rd, 2011

Hey all,

This being my first post, I decided I would give an explanation of why this site exists and how it can be useful to others.

I’ve been working in IT for a number of years now and I find that every so often I forget how I implemented something. I search GOOGLE and try to find either old articles I referenced the first time. Sometimes I remember something I did before and wish I had a quick reference to it.

That’s what this site is all about – posting quick explanations or sample code to remind myself how I did something. While I certainly could open up Notepad and accomplish the same thing, I thought that if I could find a use for this then so could someone else out there.

If you find this site useful – let me know. I would be happy to post more articles. If you have suggestions of certain topics you would like to hear more about – send me an email! This is about helping the IT community by providing as much useful information as possible. Feedback is always welcome!

Hope you all enjoy it!