Help using Base SAS procedures

Send email from SAS app with a hyperlink

Reply
N/A
Posts: 0

Send email from SAS app with a hyperlink

Hi,

I need to be able to put a hyperlink in the body of an EMAIL from a SAS application on Z/OS.

The current web link is very long and ugly.

Can you help?

Thanks. Steve.
Super Contributor
Super Contributor
Posts: 3,174

Re: Send email from SAS app with a hyperlink

Check today's archives - another request for EMAIL from SAS. Simply code the URL string (in a SAS PUT statement) with the http prefix as you would render in the browser address bar.

Scott Barry
SBBWorks, Inc.
N/A
Posts: 0

Re: Send email from SAS app with a hyperlink

I know I can do that, but the http link stuff is so long and ugly.

When you send an EMAIL in Outlook(outside of SAS) you can change that long http thing to a short meaningful name. A MS thing, I was hoping to make it look nice.

If someone has a solution please let me know.

Thanks for responding.
Super Contributor
Super Contributor
Posts: 3,174

Re: Send email from SAS app with a hyperlink

It's an HTML tag, ANCHOR. You will need to generate an HTML-formatted EMAIL and use DATA step PUT statement(s) to output the HTML tags in the body of the EMAIL. Use the FILENAME EMAIL access method and a DATA step or settle for PROC-generated links, display-text and optionally ALT= tags.

Scott Barry
SBBWorks, Inc.

Base SAS
Generating Hyperlinks with SAS
http://support.sas.com/rnd/base/ods/templateFAQ/links.html
Ask a Question
Discussion stats
  • 3 replies
  • 380 views
  • 0 likes
  • 2 in conversation