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?



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

Answer / 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

More SAS Interview Questions

what is the difference between floor and ceil functions in sas? : Sas-administrator

0 Answers  


How do dates work in SAS data?

0 Answers  


Mention the validation tools used in SAS?

0 Answers  


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.

10 Answers   Accenture,


how do we mail reports from SAS environment to our team leader

5 Answers   Wockhardt,


What SAS statements would you code to read an external raw data file to a DATA step?

10 Answers   NIIT,


what is the diff b/w verification validation in sas

3 Answers   SAS,


What do you know about sas data set?

0 Answers  


What is the difference between SAS functions and procedures?

0 Answers  


Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?

2 Answers  


What are the differences between sum function and using “+” operator?

0 Answers  


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

0 Answers  


Categories