4# wfchen
In SAS, the executing time of most procedures or a data step is defined by a step boundary. So the definition of proper boundary sometimes is very important. It can be a very big topic.
Bottomline write your program as clear/standard/simple as possible. It will be easy to debug/maintain/understand.
for example,
data a;
...;
run;
the key word data starts a STEP and run close a step.
proc logistic;
....;
run;
the key word proc logistic starts a STEP and run close a step.
But some procedures are interactive -- in which your statements may be submitted interactively within the procedures. Most of such procedures need quit as a boundary statement.
for example,
proc sql;
proc reg;
proc iml;
...
HTH