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 IndexWebSphere Message Broker (ACE) Supportmaximum open cursors exceeded

Post new topicReply to topic
maximum open cursors exceeded View previous topic :: View next topic
Author Message
chenna.hari
PostPosted: Thu Dec 13, 2012 3:08 am Post subject: maximum open cursors exceeded Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

In ESQL, i have code to delete the records from the database. i am getting the error while deleting the records

[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-01000: maximum open cursors exceeded

please can any one suggest what is the issue and how to resolve.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Dec 13, 2012 6:18 am Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Reduce the number of open cursors.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
MrSmith
PostPosted: Thu Dec 13, 2012 7:50 am Post subject: Reply with quote

Master

Joined: 20 Mar 2008
Posts: 215

How are you deleting the records within the ESQL with PASSTHRU or an ESQL DELETE statement or calling an external Procedure and is this "Deletion" within a loop.

A little more information would be helpful on how our code is processing this.
_________________
-------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.”
Back to top
View user's profile Send private message
chenna.hari
PostPosted: Thu Dec 13, 2012 10:38 pm Post subject: Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

Deletion in a while loop and using Delete statement in Passthru in ESQL
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 14, 2012 12:40 am Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

chenna.hari wrote:
Deletion in a while loop and using Delete statement in Passthru in ESQL


Perhaps you should look at one of the two following options

1) refine the delete SQL 'where' clauses so that you delete more or all of the rows in one go.
2) use the while loop and propagate (from within the while loop) to another compute node that does the delete.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kash3338
PostPosted: Fri Dec 14, 2012 12:58 am Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

smdavies99 wrote:
chenna.hari wrote:
Deletion in a while loop and using Delete statement in Passthru in ESQL


Perhaps you should look at one of the two following options

1) refine the delete SQL 'where' clauses so that you delete more or all of the rows in one go.
2) use the while loop and propagate (from within the while loop) to another compute node that does the delete.


Also there was a discussion on similar issue before,
http://www.mqseries.net/phpBB2/viewtopic.php?t=46360&sid=13481d8a9dc034ddacc226b4dfb399dd

hope it helps in some way.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) Supportmaximum open cursors exceeded
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.