|
Try this:
%macro email (investigator, filename);
FILENAME mail EMAIL &investigator
SUBJECT="test"
attach=&filename;
DATA _NULL_;
FILE mail
attach=&filename;
PUT 'abracadabra';
RUN;
%mend;
%email ("davidsi@kinkos.com", "e:\loss prevention\april2001\ops40c.xls");
|