<?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 import data from url in SAS STUDIO in SAS on demand in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736665#M229534</link>
    <description>&lt;P&gt;I use SAS studio on SAS on demand and trying to get this data located in &lt;A href="https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv" target="_blank" rel="noopener"&gt;https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv&lt;/A&gt;&amp;nbsp;but not work, need help, I work in Windows system&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* use proc import&amp;nbsp; to get data from url*/
filename file url "https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv" termstr=crlf;
proc import datafile= file
out=urldata
replace
dbms=csv;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got this message in the log:&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;PRE class="sasLog"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to
WORK.PARMS.PARMS.SLIST.
Unable to sample external file, no data in first 5 records.
ERROR: Import unsuccessful. See SAS Log for details.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 21:28:21 GMT</pubDate>
    <dc:creator>KOUAME</dc:creator>
    <dc:date>2021-04-23T21:28:21Z</dc:date>
    <item>
      <title>import data from url in SAS STUDIO in SAS on demand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736665#M229534</link>
      <description>&lt;P&gt;I use SAS studio on SAS on demand and trying to get this data located in &lt;A href="https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv" target="_blank" rel="noopener"&gt;https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv&lt;/A&gt;&amp;nbsp;but not work, need help, I work in Windows system&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* use proc import&amp;nbsp; to get data from url*/
filename file url "https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv" termstr=crlf;
proc import datafile= file
out=urldata
replace
dbms=csv;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got this message in the log:&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;PRE class="sasLog"&gt;NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to
WORK.PARMS.PARMS.SLIST.
Unable to sample external file, no data in first 5 records.
ERROR: Import unsuccessful. See SAS Log for details.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 21:28:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736665#M229534</guid>
      <dc:creator>KOUAME</dc:creator>
      <dc:date>2021-04-23T21:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: import data from url in SAS STUDIO in SAS on demand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736671#M229536</link>
      <description>&lt;P&gt;Try TERMSTR=CR&lt;/P&gt;
&lt;P&gt;At least that worked for me.&lt;/P&gt;
&lt;P&gt;That indicates the likely creator of the file uses a MAC, not Windows (CRLF) or Linux/Unix (LF)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 21:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736671#M229536</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-04-23T21:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: import data from url in SAS STUDIO in SAS on demand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736675#M229537</link>
      <description>&lt;P&gt;Make sure to test your links and such when you post them and to use the code/log block for your log. I'll clean up this post including the extra code box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI - On Demand works in the cloud, which means anything created is on a unix system.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 21:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736675#M229537</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-23T21:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: import data from url in SAS STUDIO in SAS on demand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736677#M229539</link>
      <description>&lt;P&gt;thanks so much , it works!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 21:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-data-from-url-in-SAS-STUDIO-in-SAS-on-demand/m-p/736677#M229539</guid>
      <dc:creator>KOUAME</dc:creator>
      <dc:date>2021-04-23T21:31:24Z</dc:date>
    </item>
  </channel>
</rss>

