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 the difference between INPUT and INFILE ?

1371


What are the difficulties u faced while doing vital signs table or dataset?

2445


What is PROC in SAS?

1098


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

1197


what is sas metadata server? : Sas-di

1153


how to read the variables in sas? : Sas-administrator

1069


which date function advances a date, time or datetime value by a given interval? : Sas programming

1092


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

2598


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

1181


how would you determine the number of missing or nonmissing values in computations? : Sas programming

1195


If a variable contains only numbers, can it be a character data type?

1132


What is proc sort?

1300


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1920


what is data integration? : Sas-di

1162


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

1148