Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Please write codes to merge two datasets and keep every
record in the first dataset.



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

Post New Answer

More SAS Interview Questions

what are the benefits of data integration? : Sas-di

0 Answers  


What is the difference between an informat and a format. Name three informats or formats.

6 Answers  


Name statements that are recognized at compile time only?

3 Answers   Accenture,


Name few SAS functions?

0 Answers  


What are the ways to do a “table lookup” in sas?

0 Answers  


What is the function of output statement in a SAS Program?

0 Answers  


What are the differences between proc means and proc summary?

0 Answers  


what is in stream data in SAS?

1 Answers  


This entry was posted in General. Bookmark the permalink. Post a comment or leave

0 Answers   Quintiles,


What is difference between Global n Local Macro Variables..?

6 Answers   TCS,


What are exact SAS Base contents..?N what r SAS Tools..?

1 Answers  


Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?

3 Answers  


Categories