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 is the order of evaluation of the comparison operators: + - * /** ()?

3 Answers   Quintiles,


what are all the reports you generated in your recent project?

0 Answers   Accenture, Quintiles,


Diff between proc sql merge and join?

1 Answers   HSBC, Sristek,


What are the 3 components in sas programming?

0 Answers  


How does Mr.Lanka Srinivas teach SAS? Are his accomplishments real? What are the future prospects for SAS?

1 Answers   Student,


Do you prefer Proc Report or Proc Tabulate? Why?

9 Answers   Oracle,


How would you delete duplicate observations?

10 Answers   Accenture,


State the difference between INFORMAT and FORMAT ?

0 Answers  


What is the difference between verification and validation?

9 Answers   Oracle,


How to display duplicate observations in data?

1 Answers  


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


What are the data types does SAS contain?

0 Answers  


Categories