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 » store message in row variable

Post new topic  Reply to topic
 store message in row variable « View previous topic :: View next topic » 
Author Message
Raj2000
PostPosted: Wed Dec 30, 2009 1:50 pm    Post subject: store message in row variable Reply with quote

Apprentice

Joined: 03 Aug 2009
Posts: 47

how can i store the incoming message in the shared row variable
I tried the following but it doesn't work
Code:

DECLARE Message SHARED ROW;

CREATE COMPUTE MODULE Summaryservice_Compute
   CREATE FUNCTION Main() RETURNS BOOLEAN
   BEGIN
      CALL CopyEntireMessage();
      SET Message.data[] =
               (
               SELECT S FROM InputRoot.XMLNSC as S
                      );   
      RETURN TRUE;
   END;



Quote:


i receive the error saying: Illegal data type for target. A non-list field reference is required.


i have followed the message route sample example which explains about assigning the data from the databasebut here i want to store the incoming message into the shared row variable

any suggestions??
Back to top
View user's profile Send private message
Raj2000
PostPosted: Wed Dec 30, 2009 2:11 pm    Post subject: Reply with quote

Apprentice

Joined: 03 Aug 2009
Posts: 47

extremely sorry i should have tried even more before trying to post this thread i have solved the issue .
thank you

Wish you all a happy and properous new year!!!
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 » store message in row variable
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.