How to Check IBM i OS Version | CLP, RPG, SQL, and Command Line

  • Home
  • /
  • Blog
  • /
  • How to Check IBM i OS Version | CLP, RPG, SQL, and Command Line

March 28, 2023

There are a multitude of ways to check the IBM i OS version on your IBM i System (No it is NOT an AS400 or iSERIES machine – Don’t argue. Don’t!)

You can do it from Control Language Programs

You can do it from RPG programs

You can do it from SQL

You can do it from the command line a million different ways

I tend to use command DSPSFWRSC and then press F11:

DSPSFWRSC

But if this all sounds too technical — Here is another really simple way to do this – just type:

DSPJOB OUTPUT(*PRINT)

Obviously this will generate a spool file and this shows the IBM i information at the top of every page:

NickLitten


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits.

Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day.

Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

  • {"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

    Subscribe NOW
    7-day free trial

    Take This Course with ALL ACCESS

    Unlock your Learning Potential with instant access to every course and all new courses as they are released.
     [ For Serious Software Developers only ]

    IBM i Training For Technology Experts

    New!

    Successfully Work Remote 

     $ 129.00  $59.00

    By adding new skills in information technology, employers will be confident that you have the necessary skills and tools needed to successfully work remotely

    >