Registering a Db2 Connect license key using the db2licm command
Use the db2licm command to apply the license entitlement certificate (also referred to as registering a license certificate file).
Before you begin
To complete this task, you must have the appropriate license certificate file (*.lic).
To connect to a z/OS® server or a System i server, you must register a Db2 Connect
license certificate file. (Retrieve the license certificate
file from your Passport Advantage®
distribution, for example db2conpe.lic, then copy the license
certificate file to the license directory under the directory where the driver was installed.)
On System i server, you must add a
swidtag
on Db2® for i "Db2 Connect Unlimited Edition
for System i" machine. For
more information, see IBM® Support document Steps to put
swidtag on Db2 for i "Db2 Connect Unlimited for System i" machine.
If you are using Db2 Connect Unlimited Edition for z/OS, then use a server based license certificate file. This one step will prevent the need for client based license certificate file. For details, see the topic about activating the license certificate file for Db2 Connect Unlimited Edition for System z®.
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.
Procedure
Example
/opt/IBM/db2/V11.5/adm/db2licm -a db2baf.lic