|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
MERANT : MAXIMUM OPEN CURSORS EXCEEDED |
« View previous topic :: View next topic » |
Author |
Message
|
JOEL |
Posted: Tue Feb 12, 2002 5:23 am Post subject: |
|
|
Newbie
Joined: 09 Jan 2002 Posts: 5
|
HI,
Environment : MQSI 2.0.2, AIX 4.3, oracle 8.1.7
I have a flow wich use a call to a function in oracle like this :
SET OutputRoot.XML.MSG.TEMP[] = PASSTHRU('SELECT NOS_TRANS_CARAC_FS(' some parameters ') FROM DUAL');
Generaly it's running very well.
But, when i have a great number of call because there is a great number of messages.
Then i have these messages :
Error executing SQL statement
'SELECT NOS_TRANS_CARAC_FS('1PT1AEE7H54X','ZQA','M0ZRLBFY','VEH_LENGTH','RGPV_V2') FROM DUAL'
against datasource 'BDDNOSTRA' with parameters ''. :
Database error: ODBC return code '-1'. :
Database error: SQL State 'HY000';
Native Error Code '1000';
Error Text '[MERANT][ODBC Oracle 8 driver][Oracle 8]ORA-01000: maximum open cursors exceeded:
Is someone get the same matter ?
what can i do ?
I THINK IT'SNT A PROBLEM WITH THE FUNCTION BECAUSE ALL THE CURSOR ARE REALLY CLOSED
|
|
Back to top |
|
|
JOEL |
Posted: Wed Feb 20, 2002 6:42 am Post subject: |
|
|
Newbie
Joined: 09 Jan 2002 Posts: 5
|
it's OK now
IBM recommend us changing argument to the PASSTHRU function
like this :
SET OutputRoot.XML.MSG.TEMP[] = PASSTHRU('SELECT NOS_TRANS_CARAC_FS(?,?,?,?,?) FROM DUAL', . . . .
rather than :
SET OutputRoot.XML.MSG.TEMP[] = PASSTHRU('SELECT NOS_TRANS_CARAC_FS(' || DELIM || InputDestinationList.XML.MSG.TEMP.COMOTE || DELIM || ',' || DELIM || . . . .
|
|
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
|
|
|
|