Need the following the steps in Perl
Preferebly in Solaris
Install the db2license.
To install the DB2 license you need to log-on as db2<sid>.
The license file is located in /sapmnt/db_sw/db6/DB2_software/V8.1/DBSW/db2/license. The filename is db2ese.lic
To install the product license, call the DB2 license manager program:
db2licm -a db2ese.lic
This will install the license file (nodelock) to /var/lum <- On adaptive installations,
make sure that /var/lum is a link to /opt/IBM/db2/lum:
It is necessary that the /opt/IBM/db2/lum directory exists.
After the installation of the DB2 license please update the number of licensed processors to match the number of CPUs on the DB server:
db2licm -n db2ese <number of CPUs>