Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Result set For Stored Procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Result set For Stored Procedure
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    Post subject:
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    Post subject:
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    Post subject: stored procedure
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    Post subject:
Reply with quote

read the manual:

http://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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us