BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
RupaJ
Lapis Lazuli | Level 10

Hello,

 

1) How do you map network drives on SAS Studio? I am unable to access any n/w drives to load a SAS code/data sets. Our SAS is on Linux servers and the drives are mounted on compute server which are also accessible from windows server.

 

2) Also how do I export results from SAS studio to a file?

1 ACCEPTED SOLUTION

Accepted Solutions
RupaJ
Lapis Lazuli | Level 10

Here is how you can make the folders visible on SAS studio. Providing the steps so it's useful for others. 

 

A shotcuts.xml file should be created in the folder "GlobalStudioSettings" in the path /<SASHome>/SASFoundation/9.4 where your network folders are mounted. You will have to create the "GlobalStudioSettings" folder. It's not there by default. 

 

the contents of the shorcuts.xml should be below. 

 

<?xml version="1.0" encoding="UTF-8"?>

<Shortcuts>

<Shortcut type="disk" name="<Name>" dir="/<Dir path>"/>

</Shortcuts>

 

Opening a new SAS studio session will then reflect the folders on the left hand side .

 

Thanks

 

View solution in original post

3 REPLIES 3
Pmyosh
Obsidian | Level 7

Hi,

 

 

Datasets should can loaded by using Data Prepare module and can be exported by selecting export in the OUTPUT tab> select the SAS VIYA folder> find the file in the selected folder >right click, choose DOWNLOAD, then you can download to a network drive.

 

As for importing/exporting external files via PROC IMPORT/EXPORT one solution is to use SFTP.

 

Hope this helps

 

Kurt_Bremser
Super User

Ask your server admin(s) for the names of the mount points of the network shares, and use those in your code.

 

Use proc export to export data to an external file.

RupaJ
Lapis Lazuli | Level 10

Here is how you can make the folders visible on SAS studio. Providing the steps so it's useful for others. 

 

A shotcuts.xml file should be created in the folder "GlobalStudioSettings" in the path /<SASHome>/SASFoundation/9.4 where your network folders are mounted. You will have to create the "GlobalStudioSettings" folder. It's not there by default. 

 

the contents of the shorcuts.xml should be below. 

 

<?xml version="1.0" encoding="UTF-8"?>

<Shortcuts>

<Shortcut type="disk" name="<Name>" dir="/<Dir path>"/>

</Shortcuts>

 

Opening a new SAS studio session will then reflect the folders on the left hand side .

 

Thanks

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 1679 views
  • 0 likes
  • 3 in conversation