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

how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

2152


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

2135


List out some key concept of SAS

1207


In ARRAY processing, what does the DIM function do?

1230


What is the difference between nodupkey and nodup options?

1078


What system options would you use to help debug a macro? : sas-macro

1145


how do the in= variables improve the capability of a merge? : Sas programming

1479


What is the use of stop statement?

1111


How would you invoke a macro? : sas-macro

1184


Hi, If anyone has base SAS certification dumps, please share.

1925


What is the general format of function in sas? : sas-grid-administration

1028


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

1146


Explain the use of proc print and proc contents?

1013


How would you define the end of a macro?

1145


What are the differences between proc means and proc summary?

1194