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 » Sort Records in the MRM domain

Post new topic  Reply to topic
 Sort Records in the MRM domain « View previous topic :: View next topic » 
Author Message
sandman147
PostPosted: Wed Jan 08, 2014 7:04 am    Post subject: Sort Records in the MRM domain Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

In the MRM domain of my Output Message (OutputRoot.MRM), I have five records D B C E A whose values are populated using my msg def files...Record D (OutputRoot.MRM.D) contains quantities d1, d2 and d3. The same goes for the rest. I am trying to write these records to a file. It looks a little something like

d1d2d3
b1b2b3
c1c2c3
e1e2e3
a1a2a3

Is it possible if I could SORT these records just before they are written to file without having to make changes to the msg def files so the output may look like

a1a2a3
b1b2b3
c1c2c3
d1d2d3
e1e2e3
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Thu Jan 09, 2014 12:11 am    Post subject: Re: Sort Records in the MRM domain Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

Here is a thread which is about sorting (and possible reasons why its not provided nativly)... mainly because you can program that yourself.
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Jan 09, 2014 6:09 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

If you set Composition to 'unorderedSet' then the output will be written in the order in which the elements are modeled.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 » Sort Records in the MRM domain
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.