DB2 Version 9.7 for Linux, UNIX, and Windows

Checking DB2 license compliance

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.

About this task

Note: If you installed a DB2 database product trial image, the image includes access to all features available in the edition you are using.

Procedure

  1. Verify that you have registered the license keys for your DB2 database products.
    1. Open the License Center or issue the command db2licm -l.
    2. Examine the License Type information.
      • If you see License Type: "Developer", it means that your DB2 database product was obtained as part of Database Enterprise Developer Edition for Linux, UNIX, and Windows. In this case, the IBM® Database Enterprise Developer Edition license terms take precedence over the typical DB2 product license terms.
      • If you see License Type: "Restricted use", it means that your DB2 database product was obtained as part of another IBM product. In this case, the license terms of the bundling product take precedence over the typical DB2 product license terms.
      • If you see License Type: "License not registered", it means that only a base license key has been registered. You should register the appropriate full license key for the DB2 database product.
  2. Verify that you have registered the license keys for your DB2 features.
    1. Generate a compliance report using the db2licm command or the License Center or query the ENV_FEATURE_INFO administrative view.
      • To generate compliance report using the db2licm command, issue the command:
           db2licm -g filename 
        where filename is the path and file name where output is to be stored.
      • To generate the compliance report from the License Center, refer to Viewing and resetting compliance details.
      • To see the compliance information in the ENV_FEATURE_INFO administrative view, connect to a database and issue the following query:
        SELECT * FROM SYSIBMADM.ENV_FEATURE_INFO
    2. Analyze the compliance report. If you have not registered the license key for a used DB2 feature, the compliance report will list the feature as a "In Violation".