<?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 Re: Unable to access links... in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214546#M307483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you create a file: type link in the report. Which necessitates that the file path is correctly visible on &lt;SPAN style="text-decoration: underline;"&gt;any&lt;/SPAN&gt; client that tries to open that link.&lt;/P&gt;&lt;P&gt;If the client does not have the (same!) N:\ mapping, this can't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the report in the output window on Enterprise Guide because EG tracks the creation of the output and does a download over its own connection. Or EG creates the same report as "SAS Report", which is just a specialized version of the HTML destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to create robust links, you need to find a way to place your output files where every possible client can easily access them. This may be a shared network location that is mapped on all the clients, or it may be a location accessible by browser via http, necessitating a webserver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a talk with your infrastructure people about what's best for your organization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 11:24:15 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-07-01T11:24:15Z</dc:date>
    <item>
      <title>Unable to access links...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214543#M307480</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;/P&gt;&lt;P&gt;My SAS runs on Server Machine.&lt;/P&gt;&lt;P&gt;I created links for data values in the report procedure which is triggered through mail from SAS.&lt;/P&gt;&lt;P&gt;The content of the links are placed in SAS Server.&lt;/P&gt;&lt;P&gt;After executing the report procedure I can open the links in the output window.&lt;/P&gt;&lt;P&gt;Trying to access the same from the Mail Box in the PC which throws an error path does not exist.&lt;/P&gt;&lt;P&gt;The problem is that I am trying to access the files in the Server from PC with the help of links.&lt;/P&gt;&lt;P&gt;Is it possible???&lt;/P&gt;&lt;P&gt;If not what are the steps that are to be followed to access the same..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 07:48:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214543#M307480</guid>
      <dc:creator>MadhuKorni</dc:creator>
      <dc:date>2015-06-26T07:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access links...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214544#M307481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you use paths local to the server that the client doesn't have access to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 09:05:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214544#M307481</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-06-26T09:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access links...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214545#M307482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KurtBremser,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Sample;&lt;/P&gt;&lt;P&gt;input Sample $;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;Sample1&lt;/P&gt;&lt;P&gt;Sample2&lt;/P&gt;&lt;P&gt;Sample3&lt;/P&gt;&lt;P&gt;Sample4&lt;/P&gt;&lt;P&gt;Sample5&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The content of the Link is stored in the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%do i = 1 %to &amp;amp;cnt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML body="N:\SASFolder\Sample&amp;amp;i..html" ;&amp;nbsp;&amp;nbsp; ------------ Server Path&lt;/P&gt;&lt;P&gt;proc report data = Sample&amp;amp;i;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ods html close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;%end;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;Links are created to the data values in the report procedure and the report is &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;triggered using mail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;%macro Mail;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;filename XYZ email&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN&gt;to ="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:xsyz@xyz.com"&gt;xsyz@xyz.com&lt;/A&gt;&lt;SPAN&gt; " &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;from=" " &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sub = " " &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;type =" ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ods html body = XYZ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc report data = abc;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;%do i = 1 %to &amp;amp;cnt;&lt;/P&gt;&lt;P&gt;compute sample&amp;amp;i;&lt;/P&gt;&lt;P&gt;pth = "&lt;SPAN style="font-size: 13.3333330154419px;"&gt;N:\SASFolder\Sample&amp;amp;i..html";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;call define(_col_,"url", path);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;endcomp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%mail;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The report will be sent to the &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:xyz@xyz.com"&gt;xyz@xyz.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;What steps are to be followed to access the links in the client location from Outlook on personal machine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Madhu.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 11:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214545#M307482</guid>
      <dc:creator>MadhuKorni</dc:creator>
      <dc:date>2015-07-01T11:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access links...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214546#M307483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you create a file: type link in the report. Which necessitates that the file path is correctly visible on &lt;SPAN style="text-decoration: underline;"&gt;any&lt;/SPAN&gt; client that tries to open that link.&lt;/P&gt;&lt;P&gt;If the client does not have the (same!) N:\ mapping, this can't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the report in the output window on Enterprise Guide because EG tracks the creation of the output and does a download over its own connection. Or EG creates the same report as "SAS Report", which is just a specialized version of the HTML destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to create robust links, you need to find a way to place your output files where every possible client can easily access them. This may be a shared network location that is mapped on all the clients, or it may be a location accessible by browser via http, necessitating a webserver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a talk with your infrastructure people about what's best for your organization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 11:24:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-access-links/m-p/214546#M307483</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-07-01T11:24:15Z</dc:date>
    </item>
  </channel>
</rss>

