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 do you convert basic cube to transaction cube and transaction cube to basic cube?

2202


what is transformation in sas data integration? : Sas-di

993


how to change the execute of macro

2254


What is the general format of function in sas? : sas-grid-administration

937


what is the purpose of _error_? : Sas programming

1090


What can be the size of largest dataset in SAS?

1192


: and & modifiers.

1357


What is a pdv and what are its functions?

1079


Briefly explain input and put function?

1050


How do you debug and test your SAS programs?

1524


Mention common programming errors committed in sas ?

1078


How to create list output for cross-tabulations in proc freq?

1079


What is the difference between proportion and average?

3287


what are validation tools that are used in sas? : Sas-administrator

1019


What is the basic structure of a sas program?

1072