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 » REF CURSORS

Post new topic  Reply to topic
 REF CURSORS « View previous topic :: View next topic » 
Author Message
brokerDev
PostPosted: Mon Feb 05, 2007 3:12 am    Post subject: REF CURSORS Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

I am trying to call an oracle stored proc from Broker
(Broker v5/AIX 5.3, Stored procedure on AIX 5.3/Oracle 10g)

The error I am gettingwhen I run in graphical debug mode is:

[DataDirect][ODBC Oracle driver][Oracle]ORA-06550: line 1, column 8: PLS-00306: wrong number or types of arguments in call to 'LISTOP' ORA-06550: line 1, column 8: PL/SQL: Statement ignored
Back to top
View user's profile Send private message
brokerDev
PostPosted: Mon Feb 05, 2007 3:14 am    Post subject: Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Sorry, I'm getting an error when trying to post the rest of the message - "Service unavailable"...
Back to top
View user's profile Send private message
FraggleRock
PostPosted: Wed Feb 07, 2007 11:50 pm    Post subject: Version 6 Broker and Oracle Reference Cursors Reply with quote

Newbie

Joined: 20 Sep 2006
Posts: 4

I hit a similar problem when I set up my version 6 broker, but I think the functiuonality is pretty similar between 5 and 6.

Things to check:
Make sure the ODBC File has the EnabkeDescribeParam=1 this will allow for Reference Cursors to be returned.


See my last post about how I was able to call stored procedures with reference cusors.

http://www.mqseries.net/phpBB2/viewtopic.php?t=32166&highlight=

Final tip, turn on odbc tracing in the ODBC file if this still does not work.
Back to top
View user's profile Send private message MSN Messenger
brokerDev
PostPosted: Thu Feb 08, 2007 12:19 am    Post subject: Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Thanks FraggleRock.

I've resolved the problem. The solution is that we were on MB 5 (fix pack 7) and the drivers on that level do not allow pulling back data from a stored proc with a REF CURSOR parameter on an Oracle 10g DB.

We upgraded to CSD09 (which includes the V5 drivers) and was easily able to access the REF CURSOR.
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 » REF 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.