Author: mistah kurtz
Posted: Tue Sep 13, 2016 5:23 pm (GMT 5.5)
It is a simple JOINKEYS with JOIN UNPAIRED,F1 and a REFORMAT statement (entire F1 and the new value from cross-ref file and ?), and couple of IFTHEN statements to BUILD the desired output.
To reorder file in original order after processing - Use SEQNUM before the JOINKEYS in file 1, do the join, sort on the sequence numbers.
Posted: Tue Sep 13, 2016 5:23 pm (GMT 5.5)
It is a simple JOINKEYS with JOIN UNPAIRED,F1 and a REFORMAT statement (entire F1 and the new value from cross-ref file and ?), and couple of IFTHEN statements to BUILD the desired output.
To reorder file in original order after processing - Use SEQNUM before the JOINKEYS in file 1, do the join, sort on the sequence numbers.