BookmarkSubscribeRSS Feed
dixi_sue
Calcite | Level 5

I downloaded SAS software "SAS university edition" into my laptop with window 10 system. The window 7 has local C: drive, but window 10 only has called "Onedrive" drive. I do not find C: drive for window 10. I created folder "SASUniversityEdition\myfolders" under the drive "Onedrive".

After I run the SAS code, I get the SAS output in the work library: Work.SASout. I want to save it into local drive in the folder "myfolders". So I wrote the SAS code:

PROC EXPORT

DATA =work.SASout

DBMS=xlsx

outfile="/Onedrive/SASUniversityEdition/myfolders/myout.xlsx";

 

An ERROR come in the SAS log file and stated:

The path "/Onedrive/SASUniversityEdition/myfolders/myout.xlsx" is not in the list of accessible paths when SAS is in the lockdown state. 

 

Question: how to save the output in the local drive in window 10 system? Is "Onedrive" a root drive?

 

 

 

1 REPLY 1
Reeza
Super User

When you installed SAS UE, you set up a shared folder called myfolders. You export it to that folder, using the shared path, not your C path. SAS UE is not installed on 'your computer' its installed on a Virtual Machine that is running on your computer, that you access using your browser. It's more similar to working with a One Drive but not having to use the web address for it, but getting to use it locally. 

 

I'm sure you're aware OneDrive is likely storing your information to the cloud and not just locally. 

 

Anyways, use the path as follows, and that should work for you. If not, navigate to the myfolders location using the Servers Files and Folders pane, right click, select properties and get the path from there.

 

PROC EXPORT
DATA =work.SASout
DBMS=xlsx
outfile="/folders/myfolders/myout.xlsx" REPLACE; 
RUN;

@dixi_sue wrote:

I downloaded SAS software "SAS university edition" into my laptop with window 10 system. The window 7 has local C: drive, but window 10 only has called "Onedrive" drive. I do not find C: drive for window 10. I created folder "SASUniversityEdition\myfolders" under the drive "Onedrive".

After I run the SAS code, I get the SAS output in the work library: Work.SASout. I want to save it into local drive in the folder "myfolders". So I wrote the SAS code:

PROC EXPORT

DATA =work.SASout

DBMS=xlsx

outfile="/Onedrive/SASUniversityEdition/myfolders/myout.xlsx";

 

An ERROR come in the SAS log file and stated:

The path "/Onedrive/SASUniversityEdition/myfolders/myout.xlsx" is not in the list of accessible paths when SAS is in the lockdown state. 

 

Question: how to save the output in the local drive in window 10 system? Is "Onedrive" a root drive?

 

 

 


 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1 reply
  • 10520 views
  • 1 like
  • 2 in conversation