Please write codes to merge two datasets and keep every
record in the first dataset.
Answer / reshma
proc sort data=dataA;
by commonvar;
run;
proc sort data=dataB;
by commonvar;
run;
data new;
merge dataA (in=a) dataB (in=b);
if a ;
by commonvar;
run;
Is This Answer Correct ? | 14 Yes | 0 No |
what is intially documentation in sas?
What is the size of PDV?
What is the basic structure of a sas program?
Given an unsorted data set, how to read the last observation to a new data set?
What is instream data in SAS?
If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?
define table lookup and how may ways it can be done...explian
What is the difference between proportion and average?
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
How to find out no. of business days in a month using macros.???(excluding weekends and holidays).
Difference b/n proc means and proc summary procedures?
Name statements that are execution only?