%macro putmsg(message,file=stdout); %*--utility macro to display a message to a file (by default the file is stdout)---; %*--message is a value, not an expression, and should not contain any double quotes--; data _null_; file &file ; put "&message"; run; %mend putmsg;