Check the service level and version of DB2
A short easy command will allow us to check the version and service level (build level and fix pack) of our DB2 instance. For that, use the db2level command:
DXIIC:/ mycado$ db2level
DB221085I Instance “DB2″ uses “32″ bits and DB2 code release “SQL09052″ with level identifier “03030107″.
Informational tokens are “DB2 v9.5.200.315″, “s080811″, “WR21411″, and Fix Pack “2″.
Product is installed at “C:\DB2v95″ with DB2 Copy Name “DB2COPY1″.
Here I use a DB2 9.5 with the fix pack 2 ! These information can be useful when you search information or when you need a support from IBM, but essentially to know if you have the latest fixpack. The latest fixpack for DB2 9.5 is the fix pack 4.