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
Explain the difference between using drop = data set option in set and data statement?
how does sas handle missing values in assignment statements? : Sas programming
how do you test for missing values? : Sas programming
What is the good sas programming practices for processing large data sets?
Mention the validation tools used in SAS?
Which date function advances a date, time or datetime value by a given interval?
I need level 2 to 5 sas using companies in india
What can be the size of largest dataset in SAS?
for what purpose would you use the retain statement? : Sas programming
How does the internal authentication work in sas? : sas-grid-administration
How do you define proc in sas? : sas-grid-administration
what can you learn from the sas log when debugging? : Sas programming
Difference between informat and format?
Which are the statements whose placement in the data step is critical?
What Proc glm does?