File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Stored Procedure in DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Stored Procedure in DB2" Watch "Stored Procedure in DB2" New topic

Stored Procedure in DB2

Thara Visu
Ranch Hand

Joined: May 17, 2005
Posts: 87
Hi all,
I am able to call a stored procedure that is written in COBOL and returns a cursor. But when i get that in a resultset, although the column count is returned correct, all columns and column names have a value of null.
Could somebody help me debug this?

I am using the db2 universal driver and the version of the db2 udb is 7

Thanks in advance

Thara<br />SCJP 1.4 96%<br />SCBCD 1.3 96%
I agree. Here's the link:
subject: Stored Procedure in DB2
Similar Threads
Db2 invalid column name error
Spring JdbcTemplate issue for calling stored procedure
Spring hibernate issue
Help on Db2 Xml Extender Using Xml Collection
RowSet Problem in DB2