libname learn xlsx '/folders/myshortcuts/s2/hosp.xlsx'; proc report data=learn.hosp nowd headline; column subject AdmitDAte DOB Age; define AdmitDate/"Admission Date" width=10; define DOB/width=3 ; define subject/display width=7; define Age/computed "Age at admission" ; compute Age; Age=round(yrdif(DOB,AdmitDate,'Actual')); endcomp; run; log consists of following statements: Variable DOB is uninitialized. NOTE: Variable AdmitDate is uninitialized. Output: In output Age is comming as missing variriable. Please help me out with this situation.Please refer the screenshot for output.
... View more