Since there is no line holder used in first input statement therefore after reading ‘Sue’ as employee_name the pointer will move to next record to read and process input age 7-8 statement.
data test;
input employee_name $ 1-4;
if employee_name='Sue' then input age 7-8;
else input idnum 10-11;
put age=;
cards;
Ruth 39 11
Jose 32 22
Sue 30 33
John 40 44
;
run;