Page 1 of 1

Installed DB2 Version

PostPosted: Fri Jan 25, 2013 11:39 am
by fornanthakumar
Hi,

Good Day.

Can somebody tell me, how do we know what is the DB2 version installed in my system ?

Re: Installed DB2 Version

PostPosted: Fri Jan 25, 2013 3:41 pm
by BillyBoyo
Ask the DBA team?

Re: Installed DB2 Version

PostPosted: Fri Jan 25, 2013 6:00 pm
by GuyC
DB2 Command
-DIS GROUP DETAIL

will retutn you LEVEL(101) MODE(NFM) when you are in Version 10 New Function Mode.

Re: Installed DB2 Version

PostPosted: Fri Feb 01, 2013 4:26 pm
by alexm
Issue the following SQL statement:
SELECT 'VERSION=' ,GETVARIABLE('SYSIBM.VERSION') FROM SYSIBM.SYSDUMMY1 ;
---------+---------+
VERSION=  DSN09015
---------+---------+


See DB2 SQL Reference for explanations regarding the GETVARIABLE function (and possibilities), and the returned value (DSN09015, in the sample above).
;)