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

We want to merge file A and B. File A has variable age,
file B provide birthdate. How to merge the data according
to age in file B

Answer Posted / ramesh

First calculate age in B datase


data age;
set b;
age=int(intck('day',bday,today())/365.25);
run;

sort both datasets by the age key variable and Use the
merge statement to combine the both datasets

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does sas handle missing values in assignment statements? : Sas programming

1072


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1111


What are symget and symput? : sas-macro

1370


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

2451


What is the use of %include statement?

1107


What is the purpose of trailing @ and @@? How do you use them?

1089


Which function is used to count the number of intervals between two sas dates?

1197


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

1432


For clinical entire study how many tables will create approx?

2020


What is a macro routine?

2792


How do you test for missing values?

1690


How would you include common or reuse to be processed along with your statements?

2419


What are the applications primarily used by business analyst? : Sas-bi

1052


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

1132


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

1032