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 » TRIM ERROR

Post new topic  Reply to topic
 TRIM ERROR « View previous topic :: View next topic » 
Author Message
ovasquez
PostPosted: Fri Dec 28, 2007 1:30 pm    Post subject: TRIM ERROR Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Fri Dec 28, 2007 1:41 pm    Post subject: Re: TRIM ERROR Reply with quote

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
View user's profile Send private message Send e-mail
ovasquez
PostPosted: Fri Dec 28, 2007 1:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat Dec 29, 2007 6:46 am    Post subject: Reply with quote

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
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 » TRIM ERROR
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.