<?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: %INCLUDE Code on the Internet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-Code-on-the-Internet/m-p/694677#M211864</link>
    <description>&lt;P&gt;As mentioned, when comparing performance, always run the steps to compare in various sequences.&lt;/P&gt;
&lt;P&gt;Also, it might that the procedure&amp;nbsp;&lt;FONT face="courier new,courier"&gt;http&lt;/FONT&gt; being more recent, it is better tuned than the older filename&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;url &lt;/FONT&gt;device.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 20:38:27 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-10-27T20:38:27Z</dc:date>
    <item>
      <title>%INCLUDE Code on the Internet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-Code-on-the-Internet/m-p/694345#M211750</link>
      <description>&lt;P&gt;One can &lt;CODE&gt;%include&lt;/CODE&gt; SAS code (1) without downloading as follows.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*a little delay*/
filename i url "https://raw.githubusercontent.com/junyongkim/sas/master/sganno/usrecm.sas";
%include i;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or (2) the same code after downloading as follows.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*no delay*/
filename j temp;

proc http url="https://raw.githubusercontent.com/junyongkim/sas/master/sganno/usrecm.sas" out=j;
run;

%include  j;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I found that (1), unlike (2), experiences a little but clearly noticeable delay regardless of the Internet connection speed? Why is (1) a bit slower than (2)?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 20:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-Code-on-the-Internet/m-p/694345#M211750</guid>
      <dc:creator>Junyong</dc:creator>
      <dc:date>2020-10-26T20:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE Code on the Internet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-Code-on-the-Internet/m-p/694380#M211760</link>
      <description>&lt;P&gt;You might try restarting SAS and running the code in the opposite order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes you get little, or not so little, differences because something is cached in the computer memory. You don't say exactly where you encounter the difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ran the code in the reverse order and the Proc means step showed a notable decrease in "real time" and "user cpu time" in the second step.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 22:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-Code-on-the-Internet/m-p/694380#M211760</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-26T22:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE Code on the Internet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-Code-on-the-Internet/m-p/694677#M211864</link>
      <description>&lt;P&gt;As mentioned, when comparing performance, always run the steps to compare in various sequences.&lt;/P&gt;
&lt;P&gt;Also, it might that the procedure&amp;nbsp;&lt;FONT face="courier new,courier"&gt;http&lt;/FONT&gt; being more recent, it is better tuned than the older filename&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;url &lt;/FONT&gt;device.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 20:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-Code-on-the-Internet/m-p/694677#M211864</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-27T20:38:27Z</dc:date>
    </item>
  </channel>
</rss>

