DB2 Version 9.7 for Linux, UNIX, and Windows

db2level - Show DB2 service level command

Shows the current Version and Service Level of the installed DB2® product. Output from this command goes to the console by default.

Authorization

None

Required Connection

None

Command Syntax

Read syntax diagramSkip visual syntax diagram
>>-db2level----------------------------------------------------><

Command parameters

None

Examples

On Windows operating systems, the db2level command shows the DB2 copy name. For example:
   DB21085I  Instance "DB2" uses "32" bits and DB2 code release "SQL09010" with
   level identifier "01010107".
   Informational tokens are "DB2 v9.1.0.189", "n060119", "", and Fix Pack "0".
   Product is installed at "c:\SQLLIB" with DB2 Copy Name "db2build".
On Linux and UNIX based operating systems, the db2level command does not show the DB2 copy name. For example:
   DB21085I  Instance "wqzhuang" uses "64" bits and DB2 code release "SQL09010" 
   with level identifier "01010107".
   Informational tokens are "DB2 v9.1.0.0", "n060124", "", and Fix Pack "0".
   Product is installed at "/home/wqzhuang/sqllib".

Usage notes

The information output by the command includes Release, Level, and various informational tokens.