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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic structure of the SAS base program?

1229


What is the difference between %local and %global? : sas-macro

1118


How would you identify a macro variable? : sas-macro

968


What is the difference between where and if statement?

1060


what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming

992


What are the features of SAS?

971


Describe a time when you were really stuck on a problem and how you solved it?

2481


how will you location sas platform applications available from web browser? : Sas-bi

1012


What will calendar procedure do?

1019


What is the basic syntax of a sas program?

1141


Explain the use of proc print and proc contents?

905


Explain substr function?

1030


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1415


Describe crosslist option in tables statement?

1167


What would be the value of month at the end of data step execution and how many observations would be there?

1059