Hi,
Within 2 weeks, I've got the Base exam. After reading a lot (don't have access to the actual SAS right now, so I can't find out this question for myself), I want to know what will happen with the following code if there are more statements between the IF statement and the RUN statement:
Data XX.YY
Input ...
If tolerance="D";
TotalTime=(Timemin*60)+timesec;
run;
Will all statements after the IF statement only execute when tolerance="D", or does the IF statement only applies to the variable assignment (Totaltime)?
To put it another way, what is the value of TEST when running this code when tolerance="A":
Data XX.YY
Input ...
If tolerance="D";
TotalTime=(Timemin*60)+timesec;
TEST=6;
run;
Thanks in advance!