on 2023 Mar 26 5:30 PM
Hi All,
We tried to use JDBC adapter to connect with IBM AS400 DB2 server(known as iServer), but SAP confirmed that JDBC adapter can not connect to IBM AS400 DB2 database server(iServer) which uses the driver jt400.jar for connectivity. Now, we are planning to write Groovy script to directly connect with DB2 server and read/write the data. From my local machine eclipse tool,we are able to use JT400.jar driver file and connect with DB2 server successfully.
Next step is to make this groovy work directly in CPI IFlow. Hence, I created IFlow and using groovy script for DB2 connectivity from IFlow and uploaded JT400.jar in the RESOURCES tab. But, groovy is throwing the error: SQLException: No suitable driver found.
We can see some blogs(given below) related to using custom java jars in groovy script, but no information related to using standard jar files in groovy. Please let us know, how to use standard jar files in groovy scripts.
https://blogs.sap.com/2022/04/06/how-to-use-external-jar-files-in-cpi/
Regards,
Madhusudana R
One other challenge you may face is the connection via cloud connector to your on-prem SQL database. I think the standard is SOCK5 which is used. Does the IBM database support that setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.