BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
KOUAME
Obsidian | Level 7

I use SAS studio on SAS on demand and trying to get this data located in https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv but not work, need help, I work in Windows system

 

/* use proc import  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;

 

I got this message in the log:

 
 
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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Try TERMSTR=CR

At least that worked for me.

That indicates the likely creator of the file uses a MAC, not Windows (CRLF) or Linux/Unix (LF)

View solution in original post

3 REPLIES 3
ballardw
Super User

Try TERMSTR=CR

At least that worked for me.

That indicates the likely creator of the file uses a MAC, not Windows (CRLF) or Linux/Unix (LF)

KOUAME
Obsidian | Level 7

thanks so much , it works!

Reeza
Super User

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.

 

FYI - On Demand works in the cloud, which means anything created is on a unix system. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1722 views
  • 3 likes
  • 3 in conversation