ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Closing cursors

Post new topic  Reply to topic
 Closing cursors « View previous topic :: View next topic » 
Author Message
brokerDev
PostPosted: Thu Jan 25, 2007 7:16 am    Post subject: Closing cursors Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Hi,

We are using broker v5 on a unix platform. We want to call an oracle stored proc that's using cursors. Does broker automatically close the cursor as part of the procedure call or do we have to close the cursor explicitly?

Thanks
Back to top
View user's profile Send private message
mgk
PostPosted: Thu Jan 25, 2007 11:12 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

It depends what you mean by "using cursors". ESQL will close all the cursors it opens, but if the procedure returns more than one result set then you cannot use that in V5. V6 supports stored procedrues returning multiple result-sets if that is what you are trying to do. If you post your procedrue definition that would help.


Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
brokerDev
PostPosted: Thu Jan 25, 2007 1:46 pm    Post subject: Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

The stored procedure has the following as parameters -

spoolRequests( firstParam IN VARCHAR2 DEFAULT NULL
,secondParam IN VARCHAR2 DEFAULT NULL
,thirdParam IN DATE DEFAULT NULL
,fourthParam IN DATE DEFAULT NULL
,fifthParam IN xxx%TYPE

,rtnCursor OUT Types.xxx
,rtnParam2 OUT NUMBER
,rtnParam3 OUT VARCHAR2 )

I will post the procedure definition shortly...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Closing cursors
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.