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 » DECLARE outrefDR REFERENCE TO

Post new topic  Reply to topic
 DECLARE outrefDR REFERENCE TO « View previous topic :: View next topic » 
Author Message
sharathn
PostPosted: Wed Apr 27, 2011 7:01 am    Post subject: DECLARE outrefDR REFERENCE TO Reply with quote

Newbie

Joined: 27 Apr 2011
Posts: 2

DECLARE outrefDR REFERENCE TO OutputRoot.XMLNSC.Data_Record is not creating child automatically. I have to use CREATE LASTCHILD OF to create a child and pass the data. Do any one have any idea why the declare statement is not creating child.

Thanks in advance
Sharat
Version: 7.0.0.1
Build id: 7.0.0.1-20100630_0750
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Apr 27, 2011 7:14 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

What made you expect that it would auto-create the target of the reference? Are you getting confused between SET and DECLARE?

Either way, please do not post again until you have read the infocenter pages for SET and DECLARE.
Back to top
View user's profile Send private message
sharathn
PostPosted: Wed Apr 27, 2011 8:08 am    Post subject: Reply with quote

Newbie

Joined: 27 Apr 2011
Posts: 2

Sorry for not being clear in question.

DECLARE outref REFERENCE TO OutputRoot.XMLNSC;
DECLARE outrefDR REFERENCE TO outref.Data_Record;
SET outrefDR = '123';

Gave me OutputRoot
Properties 123
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Apr 27, 2011 8:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

And please indicate what your reading of the Infocenter pages on SET and DECLARE indicates in relation to this problem.

You have already been told everything you need to know about this problem, so please demonstrate that you have read the necessary documentation and that your issue is not as simple as it appears.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 27, 2011 10:16 am    Post subject: Reply with quote

Grand High Poobah

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

sharathn wrote:
Sorry for not being clear in question.

DECLARE outref REFERENCE TO OutputRoot.XMLNSC;
DECLARE outrefDR REFERENCE TO outref.Data_Record;
SET outrefDR = '123';

Gave me OutputRoot
Properties 123

What is the value of LASTMOVE(outrefDR) before doing the SET?
What happens when you reference a non existing leaf?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DECLARE outrefDR REFERENCE TO
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.