|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Unique Records |
« View previous topic :: View next topic » |
Author |
Message
|
rekarm01 |
Posted: Wed Feb 05, 2020 6:26 pm Post subject: Re: Unique Records |
|
|
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 |
|
 |
urufberg |
Posted: Mon Mar 02, 2020 10:49 am Post subject: |
|
|
Apprentice
Joined: 08 Sep 2017 Posts: 28
|
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 |
|
 |
kotagiriaashish |
Posted: Thu Apr 02, 2020 5:32 am Post subject: |
|
|
 Disciple
Joined: 06 Aug 2011 Posts: 165
|
|
Back to top |
|
 |
|
|
|
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
|
|
|
|