|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
TRIM ERROR |
« View previous topic :: View next topic » |
Author |
Message
|
ovasquez |
Posted: Fri Dec 28, 2007 1:30 pm Post subject: TRIM ERROR |
|
|
 Centurion
Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru
|
<a>
<b> oscar <b>
<c> alex <c>
</a>
OutputRoot.MRM.a.*[I] = TRIM(BOTH ' ' from InputRoot.MRM.a.*[I+1])
in trace display: <a>oscaralex</a>...why¿?
but in:
OutputRoot.MRM.a.b = TRIM(BOTH ' ' from InputRoot.MRM.a.b)
OutputRoot.MRM.a.c = TRIM(BOTH ' ' from InputRoot.MRM.a.c)
in trace display: <a><b>oscar</b><c>alex</c></a>...why¿? _________________ Oscar Vásquez Flores |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 28, 2007 1:41 pm Post subject: Re: TRIM ERROR |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ovasquez wrote: |
<a>
<b> oscar <b>
<c> alex <c>
</a>
OutputRoot.MRM.a.*[I] = TRIM(BOTH ' ' from InputRoot.MRM.a.*[I+1])
in trace display: <a>oscaralex</a>...why¿?
but in:
OutputRoot.MRM.a.b = TRIM(BOTH ' ' from InputRoot.MRM.a.b)
OutputRoot.MRM.a.c = TRIM(BOTH ' ' from InputRoot.MRM.a.c)
in trace display: <a><b>oscar</b><c>alex</c></a>...why¿? |
Possible typo?
OutputRoot.MRM.a.*[I] = TRIM(BOTH ' ' from InputRoot.MRM.a.*[I])
Why the I+1 in the original??
Looks like you need some training urgently.
Message broker is not to be self taught. You will need some training...
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
ovasquez |
Posted: Fri Dec 28, 2007 1:44 pm Post subject: |
|
|
 Centurion
Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru
|
error when i writi in this forum, original source is:
OutputRoot.MRM.a.*[I] = TRIM(BOTH ' ' from InputRoot.MRM.a.*[I])
same error. _________________ Oscar Vásquez Flores |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Dec 29, 2007 6:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I assume it's also a type on "<b> oscar <b>".
You are better to use a reference than .*[I]. There's nothing you've shown that should produce the results you have - but if you use a reference instead of *[I], you likely won't have the problem.
Edit: Hrm. Thinking about it more - unless you've created the b and c children of OutputRoot.MRM.a, then OutputRoot.MRM.a.*[i] won't point anywhere. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|