Examples of using AHLSORT to perform various file reformatting functions

AHLSORT runs from the Windows or Linux command line.

The general form of the AHLSORT commmand is:

/path-to/ahlsort control_specifications input_file_specifications output_file_specifications

where

control_specifications
is the name of the file containing the AHLSORT control cards
input_file_specifications
is the name (or names) of the input files and their optional dcb attributes
output_file_specifications
is the name (or names) of the output files and their optional dcb attributes
  Description
View Sort Fixed Length Records
View Sort Variable Length Text Records
View Sort Variable(IBM-V) Length Records
View Sort Variable Length Records - Eliminate Duplicates
View Sort Variable Pipe Delimited Records
View Sort Variable Pipe Delimited Records enclosed by quotes
View Copy Fixed Length Records and include only the Name field in the output file with OUTREC
View Use INREC CHANGE to sort colors of the rainbow by color instead of alphabetical