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?

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →

SAS Training: Just a Click Away

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

Browse our catalog!

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