Paired records without duplicates - ASA (formerly ANSI)control characters appear in Position 5 for variable-length records (just after the Record…