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

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