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 Calling a Stored Procedure from ESQL

Post new topic  Reply to topic
 Problem Calling a Stored Procedure from ESQL « View previous topic :: View next topic » 
Author Message
Sabyasachi
PostPosted: Wed Nov 16, 2005 4:33 am    Post subject: Problem Calling a Stored Procedure from ESQL Reply with quote

Newbie

Joined: 16 Nov 2005
Posts: 4

Hi
I am trying to call a stored procedure in ORACEL from ESQL.

There are two possible options.

1. using CALL procedure statement
2.Using Passthru

Problem that i have is the stored procedure returns a multiple result sets. I know if i use paasthru then the constraint is i cna not have OUT parameter while calling the procedure.

Any response to this will be highly appreciated
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 16, 2005 4:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, you have a two choices.

And you know one doesn't work.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Nov 16, 2005 5:15 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

The only version of Message Broker that supports multiple result sets is V6. This can also do OUT/INOUT and RETURN values at the same time.

One workaround in earlier versions is to create temporary tables in the stored procedure that represent the result sets, and then use SELECT to get the data after the stored procedure call.
_________________
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
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 Calling a Stored Procedure from ESQL
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.