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 -localMember

Command parameters

-localMember
Specifies the current version and service level for the member where the db2level command is being issued.

Examples

On Windows operating systems, the db2level command shows the Db2 copy name. For example:
DB21085I  This instance or install <instance name, where applicable: "DB2"> 
uses "64" bits and Db2 code release "SQL11011" with level identifier "0202010F"

Informational tokens are "DB2 v11.1.1010.99", "s1610050100", 
"DYN1610050100WIN64", and Fix Pack "1".

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  This instance or install (instance name, where applicable:
"db2inst1") uses "64" bits and Db2 code release "SQL11011" with level
identifier "0202010F".

Informational tokens are "DB2 v11.1.1.1", "s1610100100", 
"DYN1610100100AMD64", and Fix Pack "1".

Product is installed at "/opt/ibm/db2/v11.1fp1". 

Usage notes

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