Sort Fixed Length Records

Input File 1 - F80.txt
Smith    100
Jones     50
Alexander  1
Alexander  3
Smith     39
James    890
Sort Control Cards - F80Ctl.txt
 RECORD TYPE=F,LENGTH=80
 SORT FIELDS=(1,80,CH,A)
 END
Command Line
> ahlsort F80Ctl.txt F80.txt F80Sorted.txt
Output File - F80Sorted.txt
Alexander  1
Alexander  3
James    890
Jones     50
Smith     39
Smith    100
Back to Examples