We used cloud integration to connect to mainframe DB2 in bluemix, downloaded the secure connector in a Linux OS and configured it with DB2 jars. The status in the BlueMix got changed to "connected" ,but we were unable to proceed further to create an API with the DB2 IP's as endpoints as we are getting an error "Database could be connected and please check your secure connection".But we have checked our secure connection in the terminal which is always in start mode. Could you please provide help on the same.
Unable to connect DB2 Zos with bluemix using cloud integaration
387 views Asked by user3346242 At
2
Are you able to connect to z/OS server without secure connector; using other client?
You can use DB2Jcc - IBM Data Server Driver for JDBC and SQLJ diagnostic utility to test database connectivity and validate DB2 authentication using Java. A sample command and it's output is shown as below:
If you have access to db2cli executable (sqllib/bin/db2cli), you can run below command to test connectivity and rule out any server side configuration issue:
db2cli validate -database dbname:host_name or ip:port_number -connect -user userid -passwd password
example:
If DB2Jcc or db2cli commands works fine, then it should be a connector issue in bluemix.