IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Result set For Stored Procedure


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Thu May 13, 2010 6:51 pm
Reply with quote

Dear Friends,
I have a COBOL DB2 SP which returns output data in the result set, using return for Cursor.
I tried executing it in IBM Data studio but i could not see any results tab and i could see only linkage parameters input and output.

This System is new one so is there any parameter i have to check, so that Sp will return the resultant?

Thanks in Advance,
Back to top
View user's profile Send private message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Thu May 13, 2010 7:51 pm
Reply with quote

Dear friends,
Problem is resolved Thanks.

It is because of cursor is not opened, as the if condition fails due to null value in input.

Thanks to all
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 13, 2010 8:20 pm
Reply with quote

thx for getting back with the answer.
Back to top
View user's profile Send private message
rakeshpg84

New User


Joined: 17 May 2010
Posts: 3
Location: chennai

PostPosted: Wed May 26, 2010 10:08 am
Reply with quote

hai, iam new to stored procedure. can anyone explain me difference between cobol sp and db2 sp
Back to top
View user's profile Send private message
Kalexin

New User


Joined: 26 May 2010
Posts: 2
Location: San Jose, CA

PostPosted: Wed May 26, 2010 1:15 pm
Reply with quote

read the manual:

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db29.doc.admin/db2z_createstoredprocedures.htm
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts first column truncated in search result IBM Tools 13
No new posts SDSF like solution in EJES (store com... All Other Mainframe Topics 4
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
Search our Forums:

Back to Top