Using DB2 Connect to connect to DB2 mainframes from webMethods

We are using webMethods 6.0.1 . We need to integrate with DB2 v5 on OS/390.We have thought of DB2 connect,but are unable to get information on the right version of DB2 Connect that can connect to DB2 V5 on OS/390 and also supported by webMethods JDBC Adapter.Can someone suggest the right version of DB2 connect/some alternate methods to connect to DB2 v5?