Re: one data step #3

  • Follow


Data _null_;
    set orders;
    call execute('%nrstr(%Summary('|| Order ||'));');
    call execute('%nrstr(%Percentages('|| Order ||'));');
    run;

Is it is often "good" to delay execution of the macro until after the
data step has finished.  There is a timing issue that has been
discussed here many times.  It is all way over my head, but unless you
want to use the output of the executed macro in the same data step
that has the CALL EXECUTE then %nrstr is usually desired.


On 8/1/08, Masoud Pajoh <mpajoh@odot.org> wrote:
> Can I do this with one data step?
>
> Data _null_;
>        set orders;
>        call execute('%Summary('|| Order ||');');
> run;
> Data _null_;
>        set orders;
>        call execute('%Percentages('|| Order ||');');
> run;
>
0
Reply datanull (3058) 8/1/2008 7:21:26 PM


0 Replies
37 Views

(page loaded in 0.032 seconds)


Reply: