in other environments, if you just want to look at the top few results, you can use
select top 5 *
or
where rownum < 6
or
OBS = 5
but is there a way to do that in a SAS Proc sql statement? Where you just want to look at the results of your proc sql? I’ve seen outobs=10 , but i don’t necessarily think that stops the compiling of all of your results, but instead runs the entire script, then shows only the top 10 or whatever results. What i really want though is to have it stop running as soon as there are 10 observations and show that.
Any ideas?