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 » handling record set within message flow

Post new topic  Reply to topic
 handling record set within message flow « View previous topic :: View next topic » 
Author Message
ghada
PostPosted: Tue Oct 25, 2005 3:54 am    Post subject: handling record set within message flow Reply with quote

Apprentice

Joined: 13 Oct 2005
Posts: 41
Location: Egypt

hi all

i'm using WBIMB v5.0 and DBMS Oracle 10g
i'm asked to call a stored procedure that performs a simple select statement and i want to handle the returned record set within the message flow is it possible????

" i used ref_cursor to get the record set out of the procedure"

i appreciate your help
thanks in advance
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Oct 25, 2005 3:56 am    Post subject: Re: handling record set within message flow Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ghada wrote:
i'm using WBIMB v5.0 and DBMS Oracle 10g


This is not a supported DBMS for WBIMB v5.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ghada
PostPosted: Tue Oct 25, 2005 4:47 am    Post subject: Reply with quote

Apprentice

Joined: 13 Oct 2005
Posts: 41
Location: Egypt

the version is
WBIMB v 5.0.2
with Oracle 10g.0.0.1
=============
i used a direct select statement and it worked?????
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Oct 25, 2005 4:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ghada wrote:
the version is
WBIMB v 5.0.2
with Oracle 10g.0.0.1

Unless they've changed something, Oracle 10g is not supported with WBIMB v5 except on Linux with a specific FP and efix after that.

ghada wrote:
=============
i used a direct select statement and it worked?????

Did you try calling your stored procedure, then? Did it work?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ghada
PostPosted: Tue Oct 25, 2005 6:10 am    Post subject: Reply with quote

Apprentice

Joined: 13 Oct 2005
Posts: 41
Location: Egypt

yes i did call a stored procedure but it didn't contain a select statement
it only had an insert statement and it worked
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Oct 25, 2005 6:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ghada wrote:
yes i did call a stored procedure but it didn't contain a select statement
it only had an insert statement and it worked


Well, try it with a select statement, and see what happens.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ghada
PostPosted: Tue Oct 25, 2005 6:29 am    Post subject: Reply with quote

Apprentice

Joined: 13 Oct 2005
Posts: 41
Location: Egypt

the problem is not executing the procedure
the problem is how to handle the returned result set from that procedure call
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Oct 25, 2005 6:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

And if you execute the stored procedure, you can look at what comes back, to figure out how to handle it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ghada
PostPosted: Tue Oct 25, 2005 11:35 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Oct 2005
Posts: 41
Location: Egypt

i changed it to function here is my code
*********************************
CREATE OR REPLACE FUNCTION "API"."GETPARTIES" return SYS_REFCURSOR
is MyCursor SYS_REFCURSOR;
begin
open MyCursor for select * from API.PORT_PARTIES;
return ( MyCursor);
end;
********************************
Then when i call it:
********************************
VAR X REFCURSOR ;
VAR ID VARCHAR2(5);
VAR NAME VARCHAR2(40);
VAR QM VARCHAR2(10);
exec :X := API.GETPARTIES();
print X;
*******************************
this works on Oracle, how can i handle the returned Ref_cursor "X" in message flow??????
Back to top
View user's profile Send private message Yahoo Messenger
JT
PostPosted: Wed Oct 26, 2005 5:33 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

http://www.mqseries.net/phpBB2/viewtopic.php?t=16487
Back to top
View user's profile Send private message
ghada
PostPosted: Mon Nov 07, 2005 3:40 am    Post subject: Reply with quote

Apprentice

Joined: 13 Oct 2005
Posts: 41
Location: Egypt

hi all
i found new information about my problem, i thoght it will be helpfull to share that with others, here it is:

Customers environment is : WBIMB v5 FP6 on Windows with Oracle 10g

- WBIMB v5 FP6 does not support Oracle 10g
- The exception to this is WBIMB v5 FP04+ on Linux with fix LCR016
- WBIMB v5 support for Oracle 10g is currently undergoing lifecycle
testing
- If/When this testing is completed then support for Oracle 10g would
be announced (via a FP release)
thanks all
Back to top
View user's profile Send private message Yahoo Messenger
EddieA
PostPosted: Mon Nov 07, 2005 9:25 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Isn't that exactly what Jeff told you earlier:
jefflowrey wrote:

Unless they've changed something, Oracle 10g is not supported with WBIMB v5 except on Linux with a specific FP and efix after that.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » handling record set within message flow
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.