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

Hi, I am a new user of SAS OnDemand for Academics:SAS Studio. I have enrolled in some course and my professor has already uploaded the data for all the students. Everyone has been able to access that data except me. For everybody else, it's a full fledge data file but when I double click on it, I get the message unable to access data files. I even tried making a new account an re-enrolling but found no luck. I have attached the screenshots below. Screenshot 2020-05-12 at 7.08.12 PM.pngScreenshot 2020-05-12 at 7.08.22 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26

Hi:

  It looks like you are accessing the class from the Asia Pacific Region based on your screen shot. Is your class also being taught from that region. If your course conforms to the regular naming convention for OnDemand servers folders, your LIBNAME to that course folder should be something like this:

libname myclass '/home/<yourUserID>/my_courses/u48707812';

 

  Can you right click on the u48707812 folder and choose Properties? That should show you the correct path to use for that folder.

 

  As an alternative, I was able to look up the class associated with that userID for your instructor and there is an alternate path you can use to see the files in the data subfolder -- when I run this code for your class:

libname myclass '/courses/dS7k70m4MpF505gu72kJ2/data';

proc contents data=myclass._all_ nods;
run;

 

  Then I see the files that your instructor has put in the data folder for the class.

 

  If you continue to get error messages when you try to access the folder, then it may be because your class is on a different Region than your account. The FAQ for the OnDemand server says this:

User accounts are normally configured and authorized only for use in their home regions. If you attempt to login or use resources from another region, then you will encounter an error. In most cases, the error will simply report that your account or password is invalid (within that region). But in some cases, other errors might be observed instead.

 

  You may need to work with your instructor so they can send you the data in a zip file to upload to your account in your region.

Hope this helps,

Cynthia

 

View solution in original post

2 REPLIES 2
Cynthia_sas
Diamond | Level 26

Hi:

  It looks like you are accessing the class from the Asia Pacific Region based on your screen shot. Is your class also being taught from that region. If your course conforms to the regular naming convention for OnDemand servers folders, your LIBNAME to that course folder should be something like this:

libname myclass '/home/<yourUserID>/my_courses/u48707812';

 

  Can you right click on the u48707812 folder and choose Properties? That should show you the correct path to use for that folder.

 

  As an alternative, I was able to look up the class associated with that userID for your instructor and there is an alternate path you can use to see the files in the data subfolder -- when I run this code for your class:

libname myclass '/courses/dS7k70m4MpF505gu72kJ2/data';

proc contents data=myclass._all_ nods;
run;

 

  Then I see the files that your instructor has put in the data folder for the class.

 

  If you continue to get error messages when you try to access the folder, then it may be because your class is on a different Region than your account. The FAQ for the OnDemand server says this:

User accounts are normally configured and authorized only for use in their home regions. If you attempt to login or use resources from another region, then you will encounter an error. In most cases, the error will simply report that your account or password is invalid (within that region). But in some cases, other errors might be observed instead.

 

  You may need to work with your instructor so they can send you the data in a zip file to upload to your account in your region.

Hope this helps,

Cynthia

 

sparsh97
Calcite | Level 5

Thank You for this detailed explanation. I was trying to access data from North American server. I have changed it now and it all worked out.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1271 views
  • 0 likes
  • 2 in conversation