Each DB2® database product and feature has a license key associated with it. The license key should be registered before using the DB2 database product or feature. To verify license compliance, run the db2licm command and generate a compliance report.
db2licm -g filenamewhere filename is the path and file name where output is to be stored.
SELECT * FROM SYSIBMADM.ENV_FEATURE_INFO