data test;
input employee_name $1-4;
if employee_name='Ruth' then input idnum 10-11;
else input age 7-8;
cards;
Ruth 39 11
Jose 32 22
Sue 30 33
John 40 44
;
run;
employee_
Obs name idnum age
1 Ruth 22 .
2 Sue . 0