When connecting to the DB2 database in the Datamaker or Javelin it is giving error as below:
Cannot connect using supplied values.
Connection: Data Source
SQLSTATE = 42968
[IBM][CLI Driver] SQL1598N An attempt to connect to the database server failed because of a licensing problem. SQLSTATE=42968
But same works in TDM portal connection profiles without giving an error.
Release : 4.9.1
Component : Datamaker and Javelin
This issue is caused due to way Datamaker and Javelin connect with a DB2 on z/OS. They need a properly licensed version of DB2 connect matching the DB2 driver in use.
The DB2 driver was upgraded but the corresponding license was not created and registered correctly.
After DB2 client drivers are upgraded, its required to get a new license generated for that specific Driver JAR.
Refer below link and get in touch with your DBA to get the license updated.
Also register the DB2 connect with generated license file.
Below are the DB2 commands used.
To check DB2 version and license info
To remove any existing license
>>db2licm -r db2consv
To register the product with correct license(.lic) file
>>db2licm -a “License file path\licensefile.lic”