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: 6967
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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 4 Sun Mar 12, 2017 5:35 pm
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


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