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

I have a dataset with variables empid and doj how to calculate retirement age?

Answer Posted / virat chary vadla

data joindates;
input empid$ doj date9.;
format doj is8601da.;
cards;
a101 01jan2000
a102 01aug2000
;

/*if retirement time is for 60 yrs then */


data ret_dates;
set joindates;
ret=intnx('year',doj,60,'same');
format ret doj is8601da.;
put 'for the empid--' empid 'retirement date is--' ret;
run;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of proc gplot? : sas-grid-administration

1045


What areas of SAS are you most interested in?

1580


If money were no object, what would you like to do?

3236


Mention sas system options to debug sas macros.

1241


Explain the special input delimiters used in sas programming.

1050


why is a stop statement needed for the point=option on a set statement? : Sas programming

1135


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

1105


Mention the difference between ceil and floor functions in sas?

1212


What does the trace option do?

1163


What is the difference between proportion and average?

3406


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

2809


In proc transpose and data step with arrays which one you pick?

3178


What is the difference between match merge and one to one merge?

1321


Explain data step in SAS

1163


how to change the execute of macro

2385