|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Releasing Oracle Cursors From ESQL node |
« View previous topic :: View next topic » |
Author |
Message
|
vairavan |
Posted: Fri Jan 30, 2009 6:40 pm Post subject: Releasing Oracle Cursors From ESQL node |
|
|
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 |
|
 |
mgk |
Posted: Sun Feb 01, 2009 12:24 pm Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Sun Feb 01, 2009 11:59 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Maybe the stored procedure forgets to release a cursor? |
|
Back to top |
|
 |
vairavan |
Posted: Mon Feb 02, 2009 6:47 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|