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 » Releasing Oracle Cursors From ESQL node

Post new topic  Reply to topic
 Releasing Oracle Cursors From ESQL node « View previous topic :: View next topic » 
Author Message
vairavan
PostPosted: Fri Jan 30, 2009 6:40 pm    Post subject: Releasing Oracle Cursors From ESQL node Reply with quote

Apprentice

Joined: 22 Apr 2008
Posts: 42

I am calling a stored procedure from esql node which is opening Cursors for each and every request. Now I need to release the used cursor.

Error: I am getting 'Open Cursors exceeded' error. In database the cursor limit is 3000
Root SQL exception. -1. Child SQL exception. HY000. 604. [DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-00604: error occurred at recursive SQL level 1 ORA-01000: maximum open cursors exceeded. Caught exception and rethrowing. Error detected, rethrowing. Error occured in procedure.

Could any one suggest any idea on releasing the cursors?

Thanks,
Vairavan
Back to top
View user's profile Send private message
mgk
PostPosted: Sun Feb 01, 2009 12:24 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hello.

ESQL should release cursors automatically when invoking a DB select or a Stored Procedure. You may have found a defect, try opening a PMR.

How are you calling the procedure, can you paste the ESQL and the SP Definition?

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
mqjeff
PostPosted: Sun Feb 01, 2009 11:59 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Maybe the stored procedure forgets to release a cursor?
Back to top
View user's profile Send private message
vairavan
PostPosted: Mon Feb 02, 2009 6:47 am    Post subject: Reply with quote

Apprentice

Joined: 22 Apr 2008
Posts: 42

Hi,
This is the way, I call stored procedure from Esql. And I get this cursor error for a small query which is also there in ESQL. Is there any way, That we manually release the cursor?

CREATE PROCEDURE CallDBStoreprocess(IN p1 CHARACTER, IN p2 CHARACTER, IN p3 CHARACTER, IN p4 CHARACTER, IN p5 CHARACTER, IN p6 CHARACTER, IN p7 CHARACTER)
LANGUAGE DATABASE
DYNAMIC RESULT SETS 1
EXTERNAL NAME "SCHEMA.DBPKG.PKGMETHOD";



Thanks,
Vairavan
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 » Releasing Oracle Cursors From ESQL node
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.