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 » OutPutRoot & InputRoot

Post new topic  Reply to topic
 OutPutRoot & InputRoot « View previous topic :: View next topic » 
Author Message
neo_revolution
PostPosted: Tue Jan 20, 2004 7:00 am    Post subject: OutPutRoot & InputRoot Reply with quote

Voyager

Joined: 21 Oct 2003
Posts: 80
Location: NJ

Hi,

I am a newbie to WMQI. I want to know what exactly

SET OutPutRoot = InPutRoot;

statement does. Thanks in advance.
Back to top
View user's profile Send private message Yahoo Messenger
wooda
PostPosted: Tue Jan 20, 2004 7:16 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

SET OutputRoot = InputRoot;
Copies the input message tree to the output message tree.
You need to build the output message tree in a compute node without any statements the output message tree is empty.

If this is all you have in your node then the compute node might as well not be there.

It is sometimes useful to use this if your output is going to be the same format as the input and you want to follow this statement by altering some fields in the message.
eg.

SET OutputRoot = InputRoot;
SET OutputRoot.XML.root.field1= UPPER(OutputRoot.XML.root.field1);
Back to top
View user's profile Send private message
neo_revolution
PostPosted: Tue Jan 20, 2004 7:26 am    Post subject: OutPutRoot & InputRoot Reply with quote

Voyager

Joined: 21 Oct 2003
Posts: 80
Location: NJ

Thanks zanda !!!
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » OutPutRoot & InputRoot
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.