I have two types of files in the same directory that I will use for sending out letters. These two types of files have ELS and ILS in their filenames.
Before sending out letters, I must make sure that there're no duplicate records in these files. I must find out unique values from these files without joining them together because the two types of files have different layouts yet they must go through the same workflow to output letters.
Below are examples of the ELS and ILS files:
ELS_group_1.xlsx
| CODE | First_Name | Last_Name | Profession |
| 10238 | John | White | Teacher |
| 12049 | Kelly | Kren | Dean |
| 17253 | Hsiu-wen | Chen | Student |
ILS_group_1.xlsx
| CODE | Careers | LastName | FirstName |
| 39880 | Student | Landsberg | Alan |
| 10238 | Teacher | White | John |
| 15042 | Artist | Daniels | Lindsey |
Suppose that before I have these files go through the flows that output letters, I want to ensure that there're no duplicate records in these files, distinguished by CODEs (note 10238 in both files). There could be 20 files in the directory with different numbers of ELS and ILS files. What can I do?