Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: RE: Count values

$
0
0
Author: enrico-sorichetti
Subject: Reply to: Count values
Posted: Sat Nov 05, 2016 4:10 am (GMT 5.5)

You will have to run a multi stage process ...

the first stage will overlay somewhere a global sequence number to remember the original sequence

the second stage will sort on the key adding a sequence/count number for each key

the third stage will sort on the global sequence number to restore the original sequence
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif


Viewing all articles
Browse latest Browse all 8500