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 » Issue with mapping Reference Variable to OutputRoot

Post new topic  Reply to topic
 Issue with mapping Reference Variable to OutputRoot « View previous topic :: View next topic » 
Author Message
sijumohanmm
PostPosted: Fri Aug 22, 2014 3:45 am    Post subject: Issue with mapping Reference Variable to OutputRoot Reply with quote

Newbie

Joined: 22 Aug 2014
Posts: 3

Hi All,

I could not map a reference variable to an existing child in OutputRoot.

See the code:

Code:
SET OutputRoot.XMLNSC.Header.Line.Value = rHeader.Line.Value;


(rHeader.Line.Value reefers to InputRoot)

rHeader.Line.Value has a character value and it could not be mapped to OutputRoot. But If the reference variable is stored into a normal variable, mapping is successful.

One more thing I could find here is that, if the target child in OutputRoot is not already existing, reference variable is successfully copied to the OutputRoot.

Can anyone figure out the issue here?

I am not sure whether my query is clear, as I am not so proficient with this technology.

Appreciate your help.

Thanks,
Siju Mohan MM
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Fri Aug 22, 2014 4:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

After changing / moving a reference variable you need to verify that it is still valid (i.e. pointing to where you thought it is) by checking the LASTMOVE statement...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sijumohanmm
PostPosted: Fri Aug 22, 2014 4:40 am    Post subject: Reply with quote

Newbie

Joined: 22 Aug 2014
Posts: 3

Hi,

Thanks for your response.

The reference variable has the correct value on debug. Before and after assigning value to OutputRoot. But it is not getting mapped.
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Aug 22, 2014 4:55 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Take a usertrace and look at the output. If you can't make progress in solving it please post just the relevant part of the trace here enclosed with [C O D E] tags (remove the spaces)
Code:

This is code

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » Issue with mapping Reference Variable to OutputRoot
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.