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

what is slowly changing dimension? : Sas-di

1067


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

969


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1699


what is the difference between unique key and primary key? : Sas-di

1061


What is the work of tranwrd function?

1181


Explain why double trailing @@ is used in input statement?

1010


what is the use of proc contents and proc print in sas? : Sas-administrator

1000


How is character variable converted into numeric variable and vice versa?

1110


What are the difference between the sas data step and sas procs?

1104


Explain what is the use of proc gplot?

1126


Name and describe few sas character functions that are used for data cleaning in brief.

1058


What is the sas data set? : sas-grid-administration

923


How do dates work in sas?

1074


how does sas handle missing values in sort order? : Sas programming

873


Explain the purpose of retain statement.

1008