You will learn the most, the fastest, if you construct your own program to provide some insight. For this case, you could try:
data temp2;
set temp1;
array z{2} x y;
do i = 1 to 2;
if z{i} . then z{i} = 0;
put 'Inside the loop: ' i=;
end;
put 'Outside the loop: ' i=;
run;
... View more
Your MERGE is likely wrong. You most likely want a BY statement. If you can’t figure out the code, use the Tasks and steal the code from the log or in the task itself.
... View more