I have used the below code while learning about if in SAS.
data test; input X; if X = 3 or 4 then Match = 'Yes'; else Match = 'No'; datalines; 3 7 . ;
What should happen is that for 3 it should be Y and N for the others.But the output as shown below is not proper.
What is wrong here?