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 » Unique Records

Post new topic  Reply to topic Goto page Previous  1, 2
 Unique Records « View previous topic :: View next topic » 
Author Message
rekarm01
PostPosted: Wed Feb 05, 2020 6:26 pm    Post subject: Re: Unique Records Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

arunkumo wrote:
Quote:
Again, this is only an (untested) example; feel free to modify it, as needed.

After some testing using the given input data, the code, as-is, does exactly what was asked for, to count the number of unique records.

arunkumo wrote:
Thank you.. it doesn't worked out..

With a little more detail, someone might have been able to offer some help with troubleshooting.

arunkumo wrote:
i went with XSL node and just 3 lines of code

If the xsl is already working, then it's probably easier to just stick with that.
Back to top
View user's profile Send private message
urufberg
PostPosted: Mon Mar 02, 2020 10:49 am    Post subject: Reply with quote

Apprentice

Joined: 08 Sep 2017
Posts: 28

arunkumo wrote:
Thank you Abhi. I have tryed this option but it didn't worked out.
I can do iteration but ,we r getting 1000 of records, automatically processing impact slow performance.

I have referred below link, but it doesn't worked out.
http://www.mqseries.net/phpBB2/viewtopic.php?t=51305&start=0&postdays=0&postorder=asc&highlight=


Unless you have some kind of order in your data you can use as an algorithmic advantage you need to iterate over every element at least once to know how many unique elements you have.

I don't think you can't work around that...

Regards
Back to top
View user's profile Send private message
kotagiriaashish
PostPosted: Thu Apr 02, 2020 5:32 am    Post subject: Reply with quote

Disciple

Joined: 06 Aug 2011
Posts: 165

Problem Solved at

https://ibmintegration.wordpress.com/2017/03/19/select-distinct-in-esql/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unique Records
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.