I am trying to use DFSORT to merge several files into one but retain only the first header record.
All the input files have the same format.
I have 6 fixed length flat files, each with the same format:
I want to merge the files but only retain one header rec.
The header record can be uniquely identified. #
I cannot use SUM FIELDS=NONE (which eliminates duplicates) as the header record only contains alphanumeric characters.
How do I achieve this?