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 |
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
Mention what is SAS data set?
What is the basic syntax of a sas program?
At compile time when a SAS data set is read, what items are created?
What are the differences between proc means and proc summary?
Does anybody has lastest SAS certification dumps,if anybody has please mail me on saggydesai@gmail.com
In sas admin differentiate between roles and capabilities? : sas-grid-administration
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
what is validvarname and varnum? why we are using this options; explain with a syntax for this options?
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
explain what is factor analysis? : Sas-administrator