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 » ESQL CREATE LASTCHILD issue

Post new topic  Reply to topic
 ESQL CREATE LASTCHILD issue « View previous topic :: View next topic » 
Author Message
nthepak
PostPosted: Fri Feb 19, 2010 7:42 am    Post subject: ESQL CREATE LASTCHILD issue Reply with quote

Voyager

Joined: 19 Dec 2005
Posts: 79
Location: India

Hi,

I am facing an issue in my code wherein i have a simple statment like,

CREATE LASTCHILD OF localIdList AS rowRef NAME 'localIdRow';
which is not working as expected.

I checked while debugging this and rowRef has the complete data required for assignment before the execution of this statement, but once this executed, i see both localIdRow and rowRef variables empty and thus localIdList.localIdRow having nothing.

BTW, both rowRef and localIdList are REFERENCE variables.
_________________
BR,
Deepak N
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Feb 19, 2010 7:50 am    Post subject: Re: ESQL CREATE LASTCHILD issue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

nthepak wrote:
I checked while debugging this and rowRef has the complete data required for assignment before the execution of this statement, but once this executed, i see both localIdRow and rowRef variables empty and thus localIdList.localIdRow having nothing.

BTW, both rowRef and localIdList are REFERENCE variables.


Don't debug - follow the advice often given on this forum & take a user trace. Much more information, especially what's actually happening inside the node.

If that doesn't assist, post the actual code snippet & the part of the user trace where that statement is being executed.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Fri Feb 19, 2010 7:57 am    Post subject: Re: ESQL CREATE LASTCHILD issue Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

I think this may be telling....

nthepak wrote:

i see both localIdRow and rowRef variables empty


Why is localIdRow empty? I suspect one of your previous moves / sets on this variable has failed which is causing this issue for you.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 19, 2010 2:12 pm    Post subject: Reply with quote

Grand High Poobah

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

Quote:
CREATE LASTCHILD OF localIdList AS rowRef NAME 'localIdRow';

ESQL reference This is working as designed.
After this statement rowRef should reference the last child of localIdList (i.e. localIdRow) and be empty.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
WMBDEV1
PostPosted: Sat Feb 20, 2010 3:50 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

fjb_saper wrote:
Quote:
CREATE LASTCHILD OF localIdList AS rowRef NAME 'localIdRow';

ESQL reference This is working as designed.
After this statement rowRef should reference the last child of localIdList (i.e. localIdRow) and be empty.

Have fun


Good call, adding the VALUE keyword will probably help the OP achieve what he wants but I still dont think the localIdList variable should be empty before or after the CREATE statement!

Unless im just going off on one, misinterpreting what he means by empty which after reading it again, maybe I am.
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 » ESQL CREATE LASTCHILD issue
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.