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

What are symget and symput? : sas-macro

1315


Of all your work, where have you been the most successful?

4669


What do you know about sas data set?

1117


for what purpose would you use the retain statement? : Sas programming

1096


explain the difference between proc means and proc summary?

1126


explain about data integrator metadata reports? : Sas-di

1107


What are the automatic variables for macro? : sas-macro

1254


How do you debug and test your SAS programs?

1559


what are _numeric_ and _character_ and what do they do? : Sas programming

1156


Describe the function and untility of the most difficult SAS macro that you have written.

2217


what are all the reports you generated in your recent project?

2199


What are the different servers in sas? : sas-grid-administration

1057


Mention sas system options to debug sas macros.

1177


What are the table names in oracle database...?

2755


How do you connect the desktop application to metadata server? : sas-grid-administration

1096