f



Re: Include SAS code w/o including SAS code #2

Alan,
not precisely clear what you are searching
think thus also about this kind of program
in addition to the mprint mfile answer of  ~data _null_
HTH
Andre

libname malibmac "d:\temp";
options mstores sasmstore=malibmac;
%macro foobar(aarg)/store source des='nothing or interresting';
%put arg=&arg;
%mend;
%copy foobar/source;



Alan Churchill a �crit :
> All,
>
>
>
> Ok, I think this might be doable but I am drawing a blank.
>
>
>
> Suppose I have this code:
>
>
>
> %macro xyz;
>
>    data temp.temp4;
>
>    .do some sas stuff.
>
>   run;
>
> %mend;
>
>
>
> Is there a way to write the macro statements out to a file? I can run them
> but I would also like to save them outside of SAS.
>
> bname malibmac "d:\f\";
>

> Thanks,
>
> Alan
>
>
>
> Alan Churchill
> Savian
>  <http://www.savian.net/> www.savian.net
>
>

--
   Andr� WIELKI
   INED (Institut National d'Etudes D�mographiques)
   Service Informatique
   133 Boulevard Davout      75980 Paris Cedex 20
   m�l : wielki@ined.fr      t�l :  33 (0) 1 56 06 21 54
0
wielki (636)
8/12/2008 12:52:02 PM
comp.soft-sys.sas 142827 articles. 4 followers. Post Follow

0 Replies
1027 Views

Similar Articles

[PageSpeed] 37

Reply: