Sort Variable Length Records - Eliminate Duplicates

Input File 1 - V80.txt
....Smith
....Jones
....Alexander
....Alexander
....Smith
....James
Sort Control Cards - V80UniqCtl.txt
 RECORD TYPE=V,LENGTH=80
 SORT FIELDS=(4,CH,A)
 SUM FIELDS=(NONE)
 END
Command Line
> ahlsort V80UniqCtl.txt V80.txt V80Uniq.txt
Output File - V80Uniq.txt
....Alexander
....James
....Jones
....Smith
Back to Examples