I was writing a code to access DB2 in CICS where I encountered this error. This error encounters when you are trying to access a secured Db with default options. In order to get this working, you have to specify ‘securityMechanism’ property in your connection string with value as supported by server, see below:
jdbc:db2://SERVERNAME:3700/DB:securityMechanism=7;
Continue reading “Mainframe CICS DB2 : Security mechanism not supported”