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 many types of prompts are there? : Sas-bi

1047


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1004


What are the differences between sum function and using “+” operator?

1053


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5036


Name few SAS functions?

1048


explain the proc in sas? : Sas-administrator

1041


Explain data step in SAS

1033


Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??

2565


Can you execute a macro within a macro? Describe. : sas-macro

1072


Define run-group processing?

995


What do the SAS log messages "numeric values have been converted to character" mean?

1341


what can you learn from the sas log when debugging? : Sas programming

1043


what is data access? : Sas-di

1091


What’s the difference between var b1 – b3 and var b1 — b3?

1288


How would you invoke a macro? : sas-macro

1053