Hello Experts, I would be grateful if anyone can help me solving this issue. I have the following two datasets. In DATASET-I, I have two variables, one is City Codes (ED=Edmonton, TO= Toronto and CA= Calgary) and the second is Biography of different persons. In DATASET-II, I have three variables, one is City Code (same as dataset-I), second is the Names and third is their respective Status. DATASET-I DATASET-II Code Biography Code Names Status ED Mr. Joseph Andrew is hardworking person. ED Blanc Angela Teacher ED Ms. Angela Blanc is genius. ED Albert Crew Doctor ED Mrs. Sarah Greene was absent. ED Joseph T. Andrew Lawyer ED Mr. Rubin D. Elvin cleans the room. TO Luis V. Bob Doctor TO Ms. Luis Fernandez is a teacher. TO J. Antonio Teacher TO Mr. Jose Antonio works from home. CA Accent Andiron Worker TO Mr. Luis Van Bob comes late. CA Maria Jose Antonio Student CA Ms. Maria Jose travelled last week. CA Mr. Philip Bursa will help you. What I want? First. I want to compare the names available inDATASET-II with the names available in Biography of DATASET-I and identify the city-wise names those sound similar or common in both Datasets. The unmatched names will be skipped. Second, I want to extract those city wise common names and assign their respective status, e.g., the output can be as: DATAOUTPUT Code Common Names Status ED Joseph T. Andrew Lawyer ED Angela Blank Teacher TO Luis Van Bob Doctor TO Jose Antonio Teacher CA Maria Jose Antonio Studnet Can anyone guide me how to code it in SAS please?
... View more