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

in the flow of data step processing, what is the first action in a typical data step? : Sas programming

0 Answers  


Mention what is SAS data set?

0 Answers  


What is the basic syntax of a sas program?

0 Answers  


At compile time when a SAS data set is read, what items are created?

14 Answers   Accenture,


What are the differences between proc means and proc summary?

0 Answers  


Does anybody has lastest SAS certification dumps,if anybody has please mail me on saggydesai@gmail.com

2 Answers  


In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


what is _error_?

2 Answers   Axis Bank, Cognizant, JPMorgan Chase,


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

0 Answers  


what is validvarname and varnum? why we are using this options; explain with a syntax for this options?

1 Answers   Max India,


6) Explain about below automatic variables a) _N_ b) _ERROR_ c) _CHAR_ d) _NUMERIC_ e) _ALL_ f) FIRST.BY VARIABLE g) LAST.BY VARIABLE h) _NAME_ i) _TYPE_ j) _FREQ_ k) _STAT_ l) _BREAK

1 Answers   IBM, SAS,


explain what is factor analysis? : Sas-administrator

0 Answers  


Categories