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?

 

 

 


 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 9756 views
  • 1 like
  • 2 in conversation