|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ESQL CREATE LASTCHILD issue |
« View previous topic :: View next topic » |
Author |
Message
|
nthepak |
Posted: Fri Feb 19, 2010 7:42 am Post subject: ESQL CREATE LASTCHILD issue |
|
|
 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 |
|
 |
Vitor |
Posted: Fri Feb 19, 2010 7:50 am Post subject: Re: ESQL CREATE LASTCHILD issue |
|
|
 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 |
|
 |
WMBDEV1 |
Posted: Fri Feb 19, 2010 7:57 am Post subject: Re: ESQL CREATE LASTCHILD issue |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Feb 19, 2010 2:12 pm Post subject: |
|
|
 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 |
|
 |
WMBDEV1 |
Posted: Sat Feb 20, 2010 3:50 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|