Use the db2licm command to apply the license entitlement certificate (also referred to as registering a license key).
To complete this task, you must have the appropriate license file (*.lic). Refer to DB2 license files.
On Windows® operating systems, you must belong to the local Administrators or Power Users group to use the db2licm command with the -a command parameter.
db2instance_path\bin\db2licm -a filenamewhere db2instance_path is where the DB2 instance was created and filename is the full path name and file name for the license file that corresponds to the product or feature you have purchased.
INSTHOME/sqllib/adm/db2licm -a filenamewhere INSTHOME represents the home directory of the instance owner and filename is the full path name and file name for the license file that corresponds to the product or feature you have purchased. The db2licm command can also be found in the path where the DB2 database product is installed. For example, /opt/IBM/db2/V9.7/adm on AIX®, HP-UX or Solaris operating systems or /opt/ibm/db2/V9.7/adm on Linux operating systems, if you use the default installation directory.