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...

When merging 2 datasets with a common variable (not merge
key), how to keep both?

Answer Posted / vigneshwaran.s

Rename the variable in First data or in The Second Data:

Like,

Merge A(rename=(comman_var=New_var))(in=x)
B (in=y);
by New_var;
Run;

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you determine the number of missing or nonmissing values in computations?

1069


how does sas handle missing values in a merge? : Sas programming

1048


Approximately what date is represented by the SAS date value of 730?

1217


what are the categories that sas informats are used to the place the data? : Sas-administrator

1053


Mention what is the difference between nodupkey and nodup options?

1011


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1084


Differentiate between format and informat? : sas-grid-administration

1062


What is the difference between proportion and average?

3336


What is SAS? What are the functions does it performs?

1199


what r the job openings SAS for fresher graduates !

2458


List out some key concept of SAS

1127


why is a stop statement needed for the point=option on a set statement? : Sas programming

1085


What are the default statistics that proc means produce?

1047


What do you code to create a macro? : sas-macro

1141


Name validation tools used in SAS

1184