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 |
what is the difference between floor and ceil functions in sas? : Sas-administrator
How do dates work in SAS data?
Mention the validation tools used in SAS?
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.
how do we mail reports from SAS environment to our team leader
What SAS statements would you code to read an external raw data file to a DATA step?
what is the diff b/w verification validation in sas
What do you know about sas data set?
What is the difference between SAS functions and procedures?
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....?
What are the differences between sum function and using “+” operator?
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