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 » Problem while calling a stored procedure

Post new topic  Reply to topic
 Problem while calling a stored procedure « View previous topic :: View next topic » 
Author Message
Luca81
PostPosted: Tue Mar 27, 2007 1:08 am    Post subject: Problem while calling a stored procedure Reply with quote

Acolyte

Joined: 01 Mar 2007
Posts: 62

Hi all

I have a problem. (my english is not very good is another problem )
I have to use a stored procedure in my ESQL database node.
I use this sintax

CALL amspWSTBInjectSubScriber(Environment.XmlSub, Environment.XmlPub);

I defined amspWSTBInjectSubScriber procedure with this statement.

CREATE PROCEDURE amspWSTBInjectSubScriber(IN p1 CHAR, IN p2 CHAR EXTERNAL NAME "amspWSTBInjectSubScriber";

When i execute my flow i have this error

{[2920]The procedure is unknown to the database and no definition could be found.}.

The datasource propertie in the database node is correct.
The stored procedure amspWSTBInjectSubScriber is declared has

CREATE PROCEDURE dbo.amspWSTBInjectSubScriber

@XMLSUBSCRIBER AS NTEXT,
@XMLPUBLISHER AS NTEXT

Environment.XmlSub and Environment.XmlPub are 2 XML

SQL is SQLServer 8.0

Pls help with this error
Thx a lot
Luca
Back to top
View user's profile Send private message
Marek
PostPosted: Tue Mar 27, 2007 2:17 am    Post subject: Reply with quote

Apprentice

Joined: 30 Jun 2004
Posts: 32
Location: Edinburgh

Try:

Code:
CREATE PROCEDURE amspWSTBInjectSubScriber(IN p1 CHAR, IN p2 CHAR EXTERNAL NAME "dbo.amspWSTBInjectSubScriber";


... and make sure you have the relevant authorities set (i.e. GRANT EXECUTE ON ... TO... ).

Best to post your DB platform next time.

Hope this helps.
Back to top
View user's profile Send private message
Luca81
PostPosted: Tue Mar 27, 2007 3:39 am    Post subject: Reply with quote

Acolyte

Joined: 01 Mar 2007
Posts: 62

Ok now it works. thax u very much.
Back to top
View user's profile Send private message
dcjs
PostPosted: Wed Jun 11, 2008 3:45 am    Post subject: Reply with quote

Acolyte

Joined: 10 Nov 2006
Posts: 53
Location: IBM Bangalore

Iam calling a stored procedure which is running on Informix and i would like to timeout the stored procedure call after 2 minutes.
_________________
TRY TRY UNTIL U SUCCEED
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 » Problem while calling a stored procedure
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.