Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


DB2 version for i5/OS V6R1

Posted on 2008-06-18
Medium Priority
Last Modified: 2013-12-06
Which version of DB2 is used on a System i computer with the i5/OS V6R1 Operation System? Please provide the name, version, and the URL to view the DB2 product.
Question by:mbevilacqua
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 18

Accepted Solution

Dave Ford earned 2000 total points
ID: 21814795

Since DB2 is "built-in" to the operating system, then if you have i5/OS V6R1, then you automatically have DB2 for i version 6.1.

LVL 18

Expert Comment

by:Dave Ford
ID: 21814831

Analogously, if you have an operating system level of V5R3, you automatically have version 5.3 of DB2.

etc .. etc

-- DaveSlash

Author Comment

ID: 21815018
Ah, that clears it up nicely, thank you Dave. Is there a SQL query that can be run to obtain the OS/DB2 version once a JDBC connection is established?
LVL 18

Expert Comment

by:Dave Ford
ID: 21815306

Hmmm ... that's a good question. I know how to get that data from the operating system command-line, but I don't know how to get it from a SQL query.  It probably exists, but I'm not aware of where to get it.

If I absolutely had to get it that way, I'd have someone on the operating system side generate the data for me. Then, I could query the generated data.

e.g. from OS/400 command-line, you could do:


Then, from SQL, you'd do:

SELECT distinct SCXPFV      
FROM   MyLibrary/AllPtfs


This corresponds to V5R3 of i5/OS and therefore v5.3 of DB2.

LVL 35

Expert Comment

by:Gary Patterson
ID: 21816629
Try the following query:


Format of the returned Product_ID is documented in the DB for i5/DB2 SQL Reference:


Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question