Hi SAS communities,
I actually new to SAS code for trigger email, i just wanted to send email to my user report available to retrieve from share folder after my EG job completed, attached my code and screenshot:-
filename mymail
email 'myemail@yahoo.com.my'
subject='report xxxx';
data _null_;
file mymail;
put 'Dear all,';
put ;
put 'All reports available in shared folder.';
put '<html><body><table>';
PUT '<tr><td>Shared Folder</td><td>Report Name</td>';
PUT '<tr><td> test </td><td> test2 </td>';
PUT '</table></body></html>';
put ;
put 'Thanks & Regards,';
run;
Results:
Expected:
**link A actually is hyperlink to the share folder
Please advice and guide me how to get the expected table, thanks you in advance.
Have you looked at the odsout object?
Hi ChrisNZ,
My apologies for late reply and thank for your guidance.
Let me go through the article and test it first before i come back to you.
Thank you so much for your time.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.