How would you combine 3 or more tables with different
structures?

Answer Posted / nandu

sort all datasets before going to merge
data abc ;
merge aa (in=a) bb (in=b) cc(in=c) ;
by empid /*by variable*/
if a or b or c;/*based on your requirement*/
run;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does sas handle missing values in procs? : Sas programming

634


Explain proc univariate?

604


what is SAS OPTIMIZATION?

1813


how to change the execute of macro

1671


How do you test for missing values?

1053






What are the difference between sas functions and procedures?

636


What are the special input delimiters used in SAS?

650


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

1654


What is SAS informats?

633


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

648


In sas, what are the areas that you are most interested in? : sas-grid-administration

636


How do you use the do loop if you don’t know how many times you should execute the do loop?

749


What is a method to debug and test your SAS program?

715


what is data governance? : Sas-di

621


Give e an example of..

1843