BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
LinusH
Tourmaline | Level 20

Using Viya for Learners, I can't find information where I can wriet/export files from SAS Comute programs. I get the following error:

82   filename macroout "/Users/linus.hjorth@xxxxxx.yy/My Folder/wfselect.sas";
ERROR: The path /Users/linus.hjorth@xxxxxx.yy/My Folder/wfselect.sas is not in the list of accessible paths when SAS is in the 
       lockdown state.
ERROR: Error in the FILENAME statement.

I can save programs etc manually here using the save icon.

Can I, and where can I export tiles?

 

Data never sleeps
1 ACCEPTED SOLUTION

Accepted Solutions
FSU_TOM
Fluorite | Level 6

filename outcsv "/shared/home/your vfl user id/casuser/cars.csv";

proc export data=sashelp.cars
outfile=outcsv
dbms=csv replace;
run;

filename outcsv;

View solution in original post

4 REPLIES 4
FSU_TOM
Fluorite | Level 6

In the Explorer tab in SAS Studio, right-click on the Home directory (or sub-folder) & select Properties.  This will give you the path where you have write access in Viya for Learners.

FSU_TOM
Fluorite | Level 6

filename outcsv "/shared/home/your vfl user id/casuser/cars.csv";

proc export data=sashelp.cars
outfile=outcsv
dbms=csv replace;
run;

filename outcsv;

LinusH
Tourmaline | Level 20
Your suggested path worked.
And then I found the Home folder.
Thanks!
Data never sleeps
Patrick
Opal | Level 21

@LinusH Don't you care sharing your email address publicly via the path name or is this an oversight?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1207 views
  • 1 like
  • 3 in conversation