<?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: Filename url - Hostname not found in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123986#M34106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.. i did ping the host.. and used the ip address of the client in the url instead of the Host name... Its working fine now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 17:31:25 GMT</pubDate>
    <dc:creator>NN</dc:creator>
    <dc:date>2012-11-12T17:31:25Z</dc:date>
    <item>
      <title>Filename url - Hostname not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123981#M34101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to use a filename statement to read the files in a url.&lt;/P&gt;&lt;P&gt;filename myfile url "&lt;A href="http://host:81/PATH1/"&gt;http://host:81/PATH1/&lt;/A&gt;";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling this filename i keep getting the error Hostname not found.&lt;/P&gt;&lt;P&gt;I am able to access the url via my internet explorer. However my sas version is on a unix platform.&lt;BR /&gt;Any suggestions on how do i take this ahead ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try the debug statement but there were not notes for debug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 09:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123981#M34101</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2012-11-12T09:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filename url - Hostname not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123982#M34102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is PATH1 the name of the file you are trying to access?&amp;nbsp; If so, try &lt;/P&gt;&lt;P&gt;filename myfile url "&lt;A class="jive-link-external-small" href="http://host:81/PATH1/"&gt;http://host:81/PATH1&lt;/A&gt;"; (ie without the final /) or if there is an extension (like .html) include that explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if not you may need to explicitly name the file.&amp;nbsp; The SAS UNIX documentation states&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The URL must be in one of these forms: &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://hostname/file"&gt;http://hostname/file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://communities.sas.com/http://hostname:portno/file"&gt;http://hostname:portno/file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard in Oz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 09:38:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123982#M34102</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2012-11-12T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filename url - Hostname not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123983#M34103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi richard.. the PATH1 is a directory which contains the files that i wish to read and import.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objective is to list all the files in a url Path and then import required files.&lt;/P&gt;&lt;P&gt;I have tried /PATH1/ and also /PATH1 but still the error remains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try connecting to another host using the same statment and it was working fine there&lt;/P&gt;&lt;P&gt;but somehow the system seems to be unable to identify this host. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 10:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123983#M34103</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2012-11-12T10:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filename url - Hostname not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123984#M34104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the documentation I would not expect you to be able to access a directory using the URL option.&amp;nbsp; But I do not have access now to a setup I could check this on.&amp;nbsp; You say you have been able to connect to another host with this syntax;&amp;nbsp; maybe there are file or directory permissions which differ. &lt;/P&gt;&lt;P&gt;Another tack I have used in the past is to use an external ls command with the ouput piped to a named text file.&amp;nbsp; You can read the filenames into a table and proceed from there.&amp;nbsp; I have not tried that with a URL but it might be worth examining as an option if other methods fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard in Oz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 10:22:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123984#M34104</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2012-11-12T10:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filename url - Hostname not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123985#M34105</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;would you test from your unix server whether you can reach the host?&lt;/P&gt;&lt;P&gt;$ ping host&lt;/P&gt;&lt;P&gt;$ telnet host 81&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sándor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 15:51:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123985#M34105</guid>
      <dc:creator>SandorSzalma</dc:creator>
      <dc:date>2012-11-12T15:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filename url - Hostname not found</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123986#M34106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.. i did ping the host.. and used the ip address of the client in the url instead of the Host name... Its working fine now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-url-Hostname-not-found/m-p/123986#M34106</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2012-11-12T17:31:25Z</dc:date>
    </item>
  </channel>
</rss>

