I did run the code. It generated 1 error. It is not finding Sampling_weight or columnb but Sampling_weight is located in data set b in sasuser library. See below. proc sql; create table want as select a.CHIC, a.net_payment_error, b.Sampling_weight, a.net_payment_error * b.Sampling_weight as extra_payment_error from sasuser.net_payment_error as a left join sasuser.Sampling_weight as b on a.CHIC = b.CHIC; quit; ERROR: File SASUSER.SAMPLING_WEIGHT.DATA does not exist.
... View more