Count no of repeated records in input file
Posted: Fri Jan 17, 2014 10:16 pm
If input file contains
Then i want output as, using sort in jcl
Please help.......
AAAAA
AAAAA
AAAAA
BBBBBB
BBBBBB
CCCCC
CCCCC
CCCCC
CCCCC
AAAAA
AAAAA
BBBBBB
BBBBBB
CCCCC
CCCCC
CCCCC
CCCCC
Then i want output as, using sort in jcl
AAAAA 3
BBBBBB 2
CCCCC 4
BBBBBB 2
CCCCC 4
Please help.......