The SAS Output Delivery System and reporting techniques

In Mainframe and need to include a web document in output

Reply
Occasional Contributor
Posts: 6

In Mainframe and need to include a web document in output

We are needing to include an external document (i.e. Excel, Word, etc) stored in the Web as part of our output from the Mainframe platform. We have been able to connect to the web and find the document from mainframe. From here, I notice that there are the HTML tags - how do I resolve in such a way that when I email the output of the SAS program along with the document, it is in a readable format.

Thank you for any help or suggestions!
Super Contributor
Super Contributor
Posts: 3,174

Re: In Mainframe and need to include a web document in output

Review the ODS HTML and FILENAME EMAIL engine parameters when using SAS on the mainframe (presumed IBM's z/OS MVS environment), either as an attachment or as an instream HTML-formatted EMAIL document.

The SAS support website http://support.sas.com/ has technical reference documents as well as SAS (z/OS MVS companion supplement guide) with details on the topic. Here is one related tech support document:

TS-605

Sending Electronic Mail within the SAS System under OS/390
http://support.sas.com/techsup/technote/ts605.html

Also, you will need to configure the SAS system option EMAILHOST= to specify a valid SMTP mail server, if one is not installed on z/OS.


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

Re: In Mainframe and need to include a web document in output

when sending the email, instead of including the word/html document, present a link to the document.
The link need be no more than the plain text of the url

good luck

PeterC
Super Contributor
Super Contributor
Posts: 3,174

Re: In Mainframe and need to include a web document in output

Good point - a SAS-generated (from mainframe document) can be stored there and hosted, if a web server, such as the "free" z/OS HTTP Server is active.

Or the document could be generated and stored/transfered to another file server, where a web server has access.

And, so, for these instances, the SAS-generated EMAIL would be able to send a text-format message containing the URL link to the document (very good idea and possibly more efficient, as well).

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

Re: In Mainframe and need to include a web document in output

it works for me and my client....
Significant benefits, include :
multiple messages informing recipients, but only one copy of data moves to file-server ;
no recipients need a mainframe account ;
batch process delivers data overnight to server.

I guess there might be more that I don't immediately remember.

PeterC
Ask a Question
Discussion stats
  • 4 replies
  • 165 views
  • 0 likes
  • 3 in conversation