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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 4 replies
  • 721 views
  • 1 like
  • 3 in conversation