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 » Dynamic XML using EVAL

Post new topic  Reply to topic
 Dynamic XML using EVAL « View previous topic :: View next topic » 
Author Message
pmbsa
PostPosted: Thu Feb 07, 2002 4:36 am    Post subject: Reply with quote

Novice

Joined: 06 Aug 2001
Posts: 16

I am creating Dynamic XML using the EVAL statement and I cannot work out why Scenario 1

DECLARE toTag CHARACTER;
SET toTag = 'TPCIMessage.OutboundMessage';
EVAL('SET OutputRoot.XML.TPCIMessage.OutboundMessage = InputBody.'|| toTag ||';');

works fine but
Scenario 2

DECLARE toTag CHARACTER;
SET toTag = 'InputBody.TPCIMessage.OutboundMessage';
EVAL('SET OutputRoot.XML.TPCIMessage.OutboundMessage = '|| toTag ||';');

throws out an error saying the path element doesn't exist

the only diff being that 'InputBody is part of the variable contents in scenario 2 and its hard coded in scenario 1

thanks
Paul

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 » Dynamic XML using EVAL
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.