BookmarkSubscribeRSS Feed
Gardin
Calcite | Level 5

Hi there,

 

I use SAS to auto generate several thousands mails, and I have spend some time on reading how to make a nice link based on a long technically link, but somehow unsuccessful.

 

 

%macro excelsheets;
%do i=1 %to 1;
%if &i=1 %then %let init=xxxx;

filename ulmail email from = "yyyy@zzzzzzz.com" type="text/html";
data _null_;
file ulmail;
put "!EM_SENDER! yyyy@zzzzzzz.com";
put "!EM_TO! &xxxx@zzzzzzz.com " ;
*put "!EM_CC! rly@novozymes.com " ;
put "!EM_SUBJECT! Your personal TD data" ;

put "Dear xxxx,"
//
put "As an employee, you should store 2018/2019 targets and evaluations, CV and personal job descriptions safely "
"where only relevant people have access to them, as these contain personal data. We recommend you save them 
on your OneDrive, share a link with your leader and delete any copies in your mailbox.  Any general job descriptions can be stored in Luna or MyMS
where a broader group of people can be granted access as these do not contain personal data. As a people manager, you must follow the <ul>guidelines</ul> on good archiving practice for people managers. "//
"To support your people performance dialogs in 2020, P&O will have an updated toolbox ready in January including inspiration for impactful dialogs and tools for driving the offline process. " //
"If you have any questions please go to the https://zymernet.nzcorp.net/intranet/p-and-o/annual-people-processes/_layouts/15/start.aspx#/SitePages/Ahead.aspx - Ahead page on Zymernet, ask the P&O chatbot available on all P&O Zymernet pages or reach out "/
"through the ASK P&O emails in each region. "//;

put "Best regards"/
"HR"
;

put '!em_attach! ("C:\TD2018\Targets_Development_2018_&init..docx"  "C:\TD2019\Targets_Development_2019_&init..docx")';
put '!EM_SEND!';
put '!EM_NEWMSG!';
put '!EM_ABORT!';
run;
%end;
%mend;
%excelsheets
;

Viewing my result mail looks like the following:

 

If you have any questions please go to the https://zymernet.nzcorp.net/intranet/p-and-o/annual-people-processes/_layouts/15/start.aspx#/SitePag... - Ahead page on Zymernet, ask the P&O chatbot available on all P&O Zymernet pages or reach out to through the ASK P&O emails in each region.

 

I have tried

put <a ref="https:\\zymernet............aspx"> Guideline page </a>;

and some other variant without success.

 

hope someone out there can spot my error or help me explain what I am doing wrong?

TH

1 REPLY 1

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 288 views
  • 0 likes
  • 2 in conversation