|
Eric Hoogenboom wrote in message ...
>Hi all,
>
>is there an elegant way to suppress the + lines when running call execute. I
>know of the non-elegant way by using options nosource, but I think it is
>killing an ant with a molotov cocktail.
Well, maybe it sound like a sledgehammer to crack a nut,
but it can be pretty well automated as follows:
data _NULL_;
call execute('options nosource;');
do i=1 to 10;
call execute('%* blah blah;');
end;
call execute("options %sysfunc(getoption(SOURCE));");
run;
This will automatically restore the SOURCE option to
its original value. HTH?
Grtz., Fabrizio
|