Sort Fixed Length Records

Input File 1 
Smith    100
Jones     50
Alexander  1
Alexander  3
Smith     39
James    890
Sort Control Cards
 RECORD TYPE=F,LENGTH=80
 SORT FIELDS=(1,80,CH,A)
 END
Output File
Alexander  1
Alexander  3
James    890
Jones     50
Smith     39
Smith    100
Back to Examples