Thanks Tom, we used to receive file on daily bases and we don't know how many unique date out there in the file so i am reading file in and then using below code to send out email to team... proc sql noprint; select date into :date1- :date9999 from have; %let n=&sqlobs; quit; filename mymail email subject="no. of dif date in file" to=("email1" "email2" "emailn... "); data _null_; file mymail; put "hello team, we have date&n data into the file"; /*this doesn't look good coz i am not sure how i can show macro variables (may be more than 2 or 3 date in email message*/ run;
... View more