BookmarkSubscribeRSS Feed
mathmannix
Obsidian | Level 7

I am trying to use someone else's code that uses PROC IML, but it doesn't seem to be installed on our windows SAS that can access the local directories. So I guess I have to use the Enterprise Guide we have which only works off of a UNIX server...

3 REPLIES 3
ChrisHemedinger
Community Manager

Use the Copy Files task in SAS Enterprise Guide to copy local files to any folder on your Unix session. Then you can access them in the Unix file system or via code.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
mathmannix
Obsidian | Level 7

Well yeah, I could copy over all the datasets from windows to Unix through a file transfer program we have. I just wanted there to be a way not to have to do that.

Tom
Super User Tom
Super User

Here are two options:

1) Upload the files you need to access to the Unix machine.

    Enterprise guide might even have some "tasks" you can use to do this for you.

2) Create a shared network location that you can access from both the Windows machine where Enterprise Guide is running and the Unix machine where SAS is running and keep the files there.  Note that path used from Windows and the path used from Unix will look different. 

Consider a file you can access from Windows as  \\server\share\directory\filename.ext 

If the systems team has mounted the share \\server\share at the Unix location /level1/level2/level3 for example then the path on Unix would be: /level1/level2/level3/directory/filename.ext

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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