How to code a merge that will write the matches of both to one data set, the non-matches from the left-most data.- Step 1: Define three datasets in DATA step
- Assign values of IN statement to different variables for two datasets
- Check for the condition using IF statement
- Check for output the matching to the first dataset
- Check for no matches to various datasets.