how to write code for left outer join in SAs using datastep?
Answer Posted / uma
first sort these datasets by common variable DEPT_ID,Then
use the following:
data left_join;
merge emp (in=a) dept (in=b);
by dept_id;
if a then output;
run;
| Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
How would you define the end of a macro? : sas-macro
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
Describe what are the different levels of administrative users in sas? : sas-grid-administration
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
What is the use of function Proc summary?
What is the function of output statement in a SAS Program?
How to test the debugging in sas?
explain the proc in sas? : Sas-administrator
What can you learn from the SAS log when debugging?
How do you specify the number of iterations and specific condition within a single do loop?
Mention how to limit decimal places for the variable using proc means?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
what is star schema? : Sas-di
how does sas handle missing values in sort order? : Sas programming
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.