AnsweredAssumed Answered

Collection using DB2 Connector

Question asked by Armel Lupapi on Nov 7, 2019
Latest reply on Nov 7, 2019 by Boris Lekumovich

Hi,

 

I must connect to a DB2 Database to run a collection. For that, i downloaded a db2jcc connector from the IBM website and deployed it on the app-server.

When entering the server information, i get the below error, which indicates that my connector is not licensed. 

DO you have an idea of the of the right connector to use? 

 

com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][10509][13454][4.26.14] Connection to the data server failed. The IBM Data Server for JDBC and SQLJ license was invalid or was not activated for the DB2 for z/OS subsystem. If you are connecting directly to the data server and using DB2 Connect Unlimited Edition for System z, perform the activation step by running the activation program in the license activation kit. If you are using any other edition of DB2 Connect, obtain the license file, db2jcc_license_cisuz.jar, from the license activation kit, and follow the installation directions to include the license file in the class path. ERRORCODE=-4230, SQLSTATE=42968

 

 

 

 

Regards

Outcomes