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 |
Describe a time when you were really stuck on a problem and how you solved it?
Does anybody has SAS Platform Administration certification dumps. pls send to hariithepalli@gmail.com
What is highest missing value for numeric?
What are the difficulties u faced while doing vital signs table or dataset?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
What are _numeric_ and _character_ and what do they do?
explain the concepts and capabilities of business object? : Sas-bi
What do you know about sas and what we do? : sas-grid-administration
If a variable contains only numbers, can it be a character data type?
i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?
What SAS statements would you code to read an external raw data file to a DATA step?
explain about various caches available in data integrator? : Sas-di