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

how can u extract,transform and loading?

2 Answers   CitiGroup,


describe about metadata object? : Sas-di

0 Answers  


In the flow of DATA step processing, what is the first action in a typical DATA Step?

6 Answers   Accenture,


it will become easy if uuu provide website linkssss and list of consultanciessssss

0 Answers  


how many display types available in sas bi dashboard? : Sas-bi

0 Answers  


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

0 Answers  


how we can call macros with in data step?

17 Answers   Allianz, ManPower,


What commands are used in the case of including or excluding any specific variables in the data set?

0 Answers  


what is sas? is a package or tool? give me introduction about sas?

11 Answers   Accenture,


Name statements that are execution only.

14 Answers   Accenture,


What is program data vector (pdv) and what are its functions?

0 Answers  


What versions of SAS have you used (on which platforms)?

0 Answers   Quintiles,


Categories