Solved

DB2 version for i5/OS V6R1

Posted on 2008-06-18
5
2,008 Views
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.
0
Comment
Question by:mbevilacqua
  • 3
5 Comments
 
LVL 18

Accepted Solution

by:
daveslash earned 500 total points
Comment Utility

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.

http://www-1.ibm.com/servers/eserver/iseries/db2/

HTH,
DaveSlash
0
 
LVL 18

Expert Comment

by:daveslash
Comment Utility

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

etc .. etc

-- DaveSlash
0
 

Author Comment

by:mbevilacqua
Comment Utility
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?
0
 
LVL 18

Expert Comment

by:daveslash
Comment Utility

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:

DSPPTF OUTPUT(*OUTFILE) OUTFILE(MyLibrary/AllPtfs)

Then, from SQL, you'd do:

SELECT distinct SCXPFV      
FROM   MyLibrary/AllPtfs

SYSTEM RELEASE
----------------------
050300

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

HTH,
DaveSlash
0
 
LVL 34

Expert Comment

by:Gary Patterson
Comment Utility
Try the following query:

GET DIAGNOSTICS DB2_PRODUCT_ID

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/db2/rbafzmstgetdiag2.htm

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

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/db2/rbafzmst.pdf





0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now