This must be the oldest SAS question. The are literally thousands of papers and have been discussed Om this forum several times. Do a search her and on support.Sas.com. Short answer : left join, but it depends on your data.
Data never sleeps
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.