View previous topic :: View next topic
|
Author |
Message |
kalyan.v
New User
Joined: 04 Feb 2008 Posts: 65 Location: Hyd
|
|
|
|
Hi All,
I have data like this:
100 ABC
100 CDE
100 FGH
200 KLM
200 NOP
300 XYZ
I eliminated duplicate records by using below sort card.
Code: |
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE
|
I got output like this:
Output:
100 ABC
200 KLM
300 XYZ
I want output mentioned like below where last record of the key is retained and all other records are eliminated.
Expected Output:
100 FGH
200 NOP
300 XYZ
Can get this using syncsort?? If so, please let me know.
Thanks,
Kalyan V |
|
Back to top |
|
|
kalyan.v
New User
Joined: 04 Feb 2008 Posts: 65 Location: Hyd
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Anyhow, the link you posted doesn't branch to a valid link. However, appreciate your effort in searching the Forum. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the link has been fixed!
these things happen because of the way the URL tag is managed
[ url= http : // your _ URL . com] [/url]
inside the square brackets of the starting tag the poster should put the URL,
outside the clear text and then the closing tag
and this is how the result would look
here is where I got the solution |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Thanks Enrico. |
|
Back to top |
|
|
|