Anyone has example of stored proc written in COBOL/DB2 and Java as client. Also if you have step by step set up process.
If you can guide me some place where i can get this also ok. Help is greatly appreciated.
I haven't written any Cobol stored procedures up to now, so I have no idea about that but I have written Java stored procedures and some Java client code for them. Application Development Guide: Part 3 was very useful for me to learn the structure. Another resource is DB2 Java Stored Procedures - Learning by Example. There are many examples in both of them.
As far as I know, no matter what language is used to write stored procedure, code for calling it from Java client will be the same. So the redbooks I mentioned can be useful for you too for Java client.