<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Download RTF file with SAS/IntrNet in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208910#M13837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have generated some RTF reports with SAS on MVS (z/OS).&lt;/P&gt;&lt;P&gt;They are in a library D8878.CX999.PO like:&lt;BR /&gt;D8878.CX999.PO(RAP001)&lt;BR /&gt;D8878.CX999.PO(RAP002)&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;D8878.CX999.PO(RAP200)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The content of the reports are pure rtf (text):&lt;BR /&gt;{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1030\deflangfe1030&lt;BR /&gt;{\fonttbl&lt;BR /&gt;{\f1\fswiss\fprq2\fcharset0 Arial;}&lt;BR /&gt;{\f2\fmodern\fprq1\fcharset0 Courier;}&lt;BR /&gt;}{\colortbl;&lt;BR /&gt;\red0\green0\blue0;&lt;BR /&gt;\red0\green0\blue255;&lt;BR /&gt;\red0\green255\blue255;&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make a link for download of these file with SAS IntNet which runs at the same server (MVS / z/Os)? Using FTP or proc download?&lt;/P&gt;&lt;P&gt;I’m using SAS IntrNet is version 8.2 on z/Os.&lt;/P&gt;&lt;P&gt;I can make a program on host that email these reports to me but I would like to have a link so users can download the reports whenever they want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone refer me to a relevant article about this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2015 13:41:26 GMT</pubDate>
    <dc:creator>alr</dc:creator>
    <dc:date>2015-05-04T13:41:26Z</dc:date>
    <item>
      <title>Download RTF file with SAS/IntrNet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208910#M13837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have generated some RTF reports with SAS on MVS (z/OS).&lt;/P&gt;&lt;P&gt;They are in a library D8878.CX999.PO like:&lt;BR /&gt;D8878.CX999.PO(RAP001)&lt;BR /&gt;D8878.CX999.PO(RAP002)&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;D8878.CX999.PO(RAP200)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The content of the reports are pure rtf (text):&lt;BR /&gt;{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1030\deflangfe1030&lt;BR /&gt;{\fonttbl&lt;BR /&gt;{\f1\fswiss\fprq2\fcharset0 Arial;}&lt;BR /&gt;{\f2\fmodern\fprq1\fcharset0 Courier;}&lt;BR /&gt;}{\colortbl;&lt;BR /&gt;\red0\green0\blue0;&lt;BR /&gt;\red0\green0\blue255;&lt;BR /&gt;\red0\green255\blue255;&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make a link for download of these file with SAS IntNet which runs at the same server (MVS / z/Os)? Using FTP or proc download?&lt;/P&gt;&lt;P&gt;I’m using SAS IntrNet is version 8.2 on z/Os.&lt;/P&gt;&lt;P&gt;I can make a program on host that email these reports to me but I would like to have a link so users can download the reports whenever they want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone refer me to a relevant article about this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 13:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208910#M13837</guid>
      <dc:creator>alr</dc:creator>
      <dc:date>2015-05-04T13:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Download RTF file with SAS/IntrNet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208911#M13838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You may want to work with Tech Support on this. As I remember when working with SAS IntrNet back in V8, you needed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ** program to call APPSRV_HEADER function;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ods rtf body=_webout;&lt;/P&gt;&lt;P&gt;** your code;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; And, then you had to register your program in the Application Dispatcher Library. You then either added the URL to call the program to your own web page, or you made an HTML form and you called the Dispatcher program via URL. I think there are examples in the SAS/IntrNet Developer's Guide for 8.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 19:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208911#M13838</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-04T19:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Download RTF file with SAS/IntrNet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208912#M13839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Cynthia,&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can make a report in SAS IntrNet. (I can register my program in Application Dispatcher Library and ….)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My challenge is to make a link to an already existing RTF code on the host and just download the RTF code via browser. I don’t want to make a RTF file with SAS IntrNet but just download an existing file.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;So the question is: how to download a file from host with SAS IntrNet (in my case the file is some RTF code).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example something like proc download - if it was from a PC SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the above make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 20:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208912#M13839</guid>
      <dc:creator>alr</dc:creator>
      <dc:date>2015-05-04T20:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Download RTF file with SAS/IntrNet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208913#M13840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I guess&amp;nbsp; I don't understand what you mean, exactly. The whole point of having a URL is to be able to have your browser go "fetch" a document. So this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.server.com/main/reports/index.html"&gt;http://www.server.com/main/reports/index.html&lt;/A&gt; will cause your browser to go get the "index.html" file and load it into your browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when you have a URL like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.server.com/main/reports/somefile.rtf"&gt;http://www.server.com/main/reports/somefile.rtf&lt;/A&gt; as a URL, when the browser sees the .RTF extension, most browsers will pop open a dialog box asking if you want to Open or Save the RTF file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; How do you envision people seeing this link? In the title or footnote of another report or document????&lt;/P&gt;&lt;P&gt;cynthia.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 22:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208913#M13840</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-04T22:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Download RTF file with SAS/IntrNet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208914#M13841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Cynthia,&lt;BR /&gt;I want to have a page with link to the reports. So my users can download the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data _null_;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; file _webout;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; put '&amp;lt;a href="D8878.CX999.PO(RAP001)"&amp;gt;Report 1&amp;lt;/a&amp;gt;';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;D8878.CX999.PO(RAP001)&lt;/STRONG&gt; is just a text file on mainframe with some RTF code:&lt;BR /&gt;{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1030\deflangfe1030&lt;BR /&gt;{\fonttbl&lt;BR /&gt;{\f1\fswiss\fprq2\fcharset0 Arial;}&lt;BR /&gt;{\f2\fmodern\fprq1\fcharset0 Courier;}&lt;BR /&gt;}{\colortbl;&lt;BR /&gt;…..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But the above link (href=….) does not work.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think I have to use ftp or proc download to get the file [D8878.CX999.PO(RAP001)] from mainframe. But I’m not sure if it is possible to do so with SAS IntrNet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 05:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Download-RTF-file-with-SAS-IntrNet/m-p/208914#M13841</guid>
      <dc:creator>alr</dc:creator>
      <dc:date>2015-05-05T05:45:03Z</dc:date>
    </item>
  </channel>
</rss>

