I was able to resolve this issue by updating the url as showm below.
jdbc:db2://<host>:<port>/<DB>:currentSchema=<schema>;clientProgramName=MyApp;