I do that in a daily report-mail. Reason is: it is easy and the users
might archive that and refind the mails by date. It looks like:
KIS Job Ressourcen vom 25.07.07
and that's made by:
FILENAME MYMAIL EMAIL &MAIL
SUBJECT="KIS Job Ressourcen vom &ended"
&ended is generated in a data-step. It is not necessarily the &sysdate,
but can also be 2 or 3 days earlier. The other macro variables are also
generated somewhere in the program. &mail contains a string with all e-
Here how I did that:
There can also be more than one...
On Wed, 25 Jul 2007 17:44:20 +0000, toby dunn <tobydunn@HOTMAIL.COM> wrote:
>YOu could try using %SysDate or %Sysfunc( today() , mmddyyd10. )
>If anything simply cannot go wrong, it will anyway. Murphys Law #2.
>The buddy system is essential to your survival; it gives the enemy
>else to shoot at.
>Murphys Law #
>Tell a man there are 300 billion stars in the universe and he'll believe
>you. Tell him a bench has wet paint on it and he'll have to touch to be
>sure. Murphys Law #9
>From: Bhag <ktbhagawan@GMAIL.COM>
>Reply-To: Bhag <ktbhagawan@GMAIL.COM>
>Subject: Display Date in the subject line in a SAS generated email -
>Date: Wed, 25 Jul 2007 10:38:40 -0700
>Please some one let me know how could I display date on the subject
>line along with other details,
>eg: Subject: Error report for 07-25-2007
>I am trying to send a SAS genearted email with subject line having