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 does PROC print, and PROC contents do?

1170


what is the use of proc sql? : Sas programming

1055


what techniques and/or procs do you use for tables? : Sas programming

997


Differentiate between ceil and floor functions.

1105


What was the last computer book you purchased? Why?

2316


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

2340


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

1183


Compare sas with other data analytics tools.

983


describe how to adjust the performance of data integrator? : Sas-di

948


What are the 3 components in sas programming?

1151


what is sas and what are the functions? : Sas-administrator

933


Explain the special input delimiters used in sas programming.

959


What is factor analysis?

1079


how to debug and test the sas program? : Sas-administrator

976


Explain translate function?

1133