regarding JAVA - COBOL stored procedure

Vamsi G Charan

regarding JAVA - COBOL stored procedure
Hi All,
I am facing a problem with stored procedure. Details are

Application program JAVA appication
calling
Stored procedure COBOL (DB2 6.1 on OS/390)
truogh DB2Connect

The SP reads data from a table and inserts into a Global
Temporary Table (GTT) which is declared with an identity column .
Then a cursor is left open on GTT.
I am able to fetch this cursor data from a COBOL application program.
Now the problem is
How to fetch this cursor data from a JAVA application
program ?

can anybody kindly provide some information regarding this topic ( any
pointers to resources or sample code etc. )


Thanks in advance and Merry X'mas
Vamsi