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 » NEON reformatting

Post new topic  Reply to topic
 NEON reformatting « View previous topic :: View next topic » 
Author Message
vmcgloin
PostPosted: Tue Aug 20, 2002 2:07 am    Post subject: NEON reformatting Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Hi,
Very specific question I'm afraid. I am limited to using NEONRules node (i.e v1.1 functionality) in 2.0.2 and want to convert the input message:

TypeX 11111 aaa TypeY 22222 bbb Type Z 33333 ccc

to output message:
11111 22222 33333 aaa bbb ccc

There are always 3 types in the input but the problem is that they will not always be in the same order but the output needs them in a fixed order. TypeX, Y, Z.

I have tried various combinations of repeating and controlling fields with no success. I am using the TypeX as the controlling filed with an Input Control like 'input filed value = TypeX'.
Any pointers from NEON gurus?
Thanks,
Vicky
Back to top
View user's profile Send private message
jhalstead
PostPosted: Tue Aug 20, 2002 3:50 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

don't have access to NEON at moment, however I think there is an option to use tagged data... this may be of some use.

If this is no good and the 9 components are all fixed length you could create an output format for each of the 6 possible permutation of fields and use the rules to determine which format/transformation to perform. Once you've defined all the components it shouldn't be too lengthy a process to build...

Jamie
Back to top
View user's profile Send private message Send e-mail
seeknee
PostPosted: Wed Nov 20, 2002 4:48 am    Post subject: Reply with quote

Apprentice

Joined: 08 Aug 2002
Posts: 41
Location: Melbourne, Australia

I know this might be a little late but here goes anyway

Create a Input Compound IN_Message
Create a seperate Input Flat for each Type eg
TypeX
TypeY
TYpeZ


So your Input Compound will look like this

IN_Message
TypeX
TypeY
TypeZ

On the properties of IN_Message the component format Order must be RANDOM
This will allow the order of the input message to be random
then you just create you OUT_Message in the correct order.

This should work
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 » NEON reformatting
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.