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


Please Help Members By Posting Answers For Below Questions

Explain the use of proc print and proc contents?

755


Give some ways by which you can define the variables to produce the summary report (using proc report)?

858


How sas treats the dsd delimiters?

981


What does the RUN statement do?

1094


What are symget and symput? : sas-macro

1017


What is factor analysis?

874


Explain the special input delimiters used in sas programming.

809


What is the purpose of _character_ and _numeric_?

838


What is PDV?

936


What are the limitations for memory allocation for SAS variables

1210


What is SAS? What are the functions does it performs?

974


what is metadata? : Sas-bi

816


name some data transformation used in sas di? : Sas-di

757


What are the advantages of using sas?

889


What do you know about symput and symget?

973