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 |
Name few SAS functions?
What does the trace option do?
What is a method to debug and test your SAS program?
Explain bmdp procedure?
Hi , which book should i refer to for preaparing SAS statistical Exam. Searched a lot on books but still did n't find relevant books
what is treatment emergent events and treatment emregent adverse event
AE datasets names? how many types?
how can you import .csv file in to sas? : Sas programming
what are the component of range? : Sas-bi
What commands are used in the case of including or excluding any specific variables in the data set?
What is proc sql pass through facility?
for report generation which one you used proc report or data_null_?
3 Answers Accenture, Quintiles,