<?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: NOTE: 404 Not Found in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520481#M141141</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for taking a look at this.&amp;nbsp; I used proc copy to convert the datasets contained in the download file to temporary datasets, which is what I believe the larger body of program needs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ted&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2018 18:31:38 GMT</pubDate>
    <dc:creator>LEINAARE</dc:creator>
    <dc:date>2018-12-11T18:31:38Z</dc:date>
    <item>
      <title>NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520454#M141127</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run the following code I downloaded from a government website.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*=============================================================================;
*  DOWNLOAD THE LATEST LOOKUP TABLES WITH CONTRACEPTIVE CLAIMS CODES 
*=============================================================================;
%let urldir = https://www.hhs.gov/opa/sites/default/files/; 	
%macro getlookup(tablename);
   filename _inbox "%sysfunc(getoption(work))/&amp;amp;tablename..sas7
bdat";
   proc http 
      method="get" url="&amp;amp;urldir.&amp;amp;tablename..sas7bdat" out=_inbox;
      run;
%mend;																													*...Claims code tables will now be downloaded to work library and directly readable;
%getlookup(lookup_iud_&amp;amp;year.);  
%getlookup(lookup_infecund_&amp;amp;year.);
%getlookup(lookup_pregnancy_&amp;amp;year.);
%getlookup(lookup_non_live_birth_&amp;amp;year.);
%getlookup(lookup_live_birth_&amp;amp;year.);
%getlookup(lookup_sterilization_&amp;amp;year.);
%getlookup(lookup_implant_&amp;amp;year.);
%getlookup(lookup_injectable_&amp;amp;year.);
%getlookup(lookup_oral_pill_&amp;amp;year.);
%getlookup(lookup_patch_&amp;amp;year.);
%getlookup(lookup_ring_&amp;amp;year.);
%getlookup(lookup_diaphragm_&amp;amp;year.);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following note in my log.&lt;/P&gt;&lt;P&gt;"NOTE: PROCEDURE HTTP used (Total process time):&lt;/P&gt;&lt;P&gt;real time 1.01 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;NOTE: 404 Not Found"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked up the error, and it seems it is related to a JAVA&amp;nbsp;virtual machine error.&amp;nbsp; Could anyone offer any help as how to resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520454#M141127</guid>
      <dc:creator>LEINAARE</dc:creator>
      <dc:date>2018-12-11T17:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520458#M141130</link>
      <description>This is the 404 error, ie page not found when trying to access the URL. Is &amp;amp;year defined? WHat values does it take?&lt;BR /&gt;&lt;BR /&gt;When I try and use it with year=2015 I get the same error.</description>
      <pubDate>Tue, 11 Dec 2018 17:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520458#M141130</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-11T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520459#M141131</link>
      <description>&lt;P&gt;I have followed the URL :&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;"https:&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;www&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;hhs&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;gov&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;opa&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;sites&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;default&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;files&lt;SPAN class="token operator"&gt;/"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Which Says :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="main-section inner"&gt;&lt;DIV class="site-content"&gt;&lt;DIV class="region region-content"&gt;&lt;DIV class="ds-1col node node-article view-mode-full clearfix"&gt;&lt;DIV class="field field-name-full-title-as-h1 field-type-ds field-label-hidden"&gt;&lt;DIV class="field-items"&gt;&lt;DIV class="field-item even"&gt;Page Not Found&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;DIV class="field-items"&gt;&lt;DIV class="field-item even"&gt;&lt;P&gt;We're sorry, but there is no&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.hhs.gov/" target="_blank"&gt;www.hhs.gov&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;page that matches your entry. Possible reasons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The page may have been moved,&lt;/LI&gt;&lt;LI&gt;It no longer exists, or&lt;/LI&gt;&lt;LI&gt;The address may have been typed incorrectly.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently the Site has changed since the code was written.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520459#M141131</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2018-12-11T17:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520461#M141132</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a small excerpt from a very large code that calls multiple component programs.&amp;nbsp; However, I have not been able to find any step that specifically defines 'year'.&amp;nbsp; The datasets it is trying to download are from 2013-2016.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520461#M141132</guid>
      <dc:creator>LEINAARE</dc:creator>
      <dc:date>2018-12-11T17:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520463#M141134</link>
      <description>&lt;P&gt;Hi r_behata,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried that as well, and got the same message.&amp;nbsp; The data tables referenced in the original program can be found at &lt;A href="https://www.hhs.gov/opa/performance-measures/claims-data-sas-program-instructions/index.html" target="_blank"&gt;https://www.hhs.gov/opa/performance-measures/claims-data-sas-program-instructions/index.html&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;But, when I replaced the URL with the link above, it did not execute either.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520463#M141134</guid>
      <dc:creator>LEINAARE</dc:creator>
      <dc:date>2018-12-11T17:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520467#M141136</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/203435"&gt;@LEINAARE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will have to find the new web file server link where the data files are hosted in case the URL has changed. Simply replacing the URL with a HTML page might not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520467#M141136</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2018-12-11T17:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520469#M141137</link>
      <description>&lt;P&gt;I was able to download a file containing the SAS datasets available online and store it on my desktop.&amp;nbsp; Is there anyway to modify the %getlookup macro to function in a similar way to read datasets stored on my computer?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520469#M141137</guid>
      <dc:creator>LEINAARE</dc:creator>
      <dc:date>2018-12-11T17:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520471#M141138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223452"&gt;@r_behata&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion.&amp;nbsp; I will email the contact on that page and see if there is an updated URL. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ted&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520471#M141138</guid>
      <dc:creator>LEINAARE</dc:creator>
      <dc:date>2018-12-11T17:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520473#M141139</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/203435"&gt;@LEINAARE&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was able to download a file containing the SAS datasets available online and store it on my desktop.&amp;nbsp; Is there anyway to modify the %getlookup macro to function in a similar way to read datasets stored on my computer?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From the portion you've shown, that's actually all this macro did, download the files.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:59:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520473#M141139</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-11T17:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: 404 Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520481#M141141</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for taking a look at this.&amp;nbsp; I used proc copy to convert the datasets contained in the download file to temporary datasets, which is what I believe the larger body of program needs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ted&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 18:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-404-Not-Found/m-p/520481#M141141</guid>
      <dc:creator>LEINAARE</dc:creator>
      <dc:date>2018-12-11T18:31:38Z</dc:date>
    </item>
  </channel>
</rss>

