Step to check and install db2 licenses
Check Existing Licenses
To check the existing licenses in your DB2 database, you can use the db2licm command
$db2licm -l
![](https://i0.wp.com/tech2now.in/staging/wp-content/uploads/2023/07/image-8.png?resize=609%2C316&ssl=1)
Step to License Activation
Run below command to activate it in your DB2
$db2licm -a /License file path/file.lic
Step to check License Expiration
$db2licm -e /path/to/license/file.lic