Desktop productivity for business analysts and programmers

Open .sas file from server outside of /home directory

Accepted Solution Solved
Reply
PROC Star
Posts: 1,293
Accepted Solution

Open .sas file from server outside of /home directory

Hi,

I'm trying to open a .sas file which is sitting on a SAS Application Server.

From EG (4.3) I go File->Open->Program, and select servers then SASApp.

In the dialog box I now see a single folder, "Files", which is pointed toward my home directory on the server, i.e.  /home/users/quentin or whatever.

The file I want is not in that directory.  It's in /programs.

Is there a way for me to open /programs/myprog.sas into my EG project?

The permissions to /programs look fine, everone has read access.

If you're wondering *why* I am doing this, it's because I typically have a setup where programs call sub-programs (or macros defined in sub-programs).  The server is a linux box.  So I thought I would define one EG project for this task.  And then link all of the code modules for the task to the project.   And then use the EG editor to edit any individual .sas file sitting on the server (rather than learn a *nix editor).

Thanks,

--Q.


Accepted Solutions
Solution
‎05-10-2012 02:00 PM
Community Manager
Posts: 2,889

Re: Open .sas file from server outside of /home directory

Quentin,

Your approach is sound and I find it a great way to maintain UNIX-based SAS programs.  But you need to re-set the starting file location for file navigation on your server.

Try the advice in 's blog: http://blogs.sas.com/content/bi/2011/10/27/revisiting-the-starting-file-location-for-enterprise-guid...

Chris

View solution in original post


All Replies
Solution
‎05-10-2012 02:00 PM
Community Manager
Posts: 2,889

Re: Open .sas file from server outside of /home directory

Quentin,

Your approach is sound and I find it a great way to maintain UNIX-based SAS programs.  But you need to re-set the starting file location for file navigation on your server.

Try the advice in 's blog: http://blogs.sas.com/content/bi/2011/10/27/revisiting-the-starting-file-location-for-enterprise-guid...

Chris

PROC Star
Posts: 1,293

Re: Open .sas file from server outside of /home directory

Thanks much Chris.

In the comments to the blog, Angela also pointed out that I could do what I want just by creating a symbolic link from my home directory to the /programs directory.  Nifty.

Who wants to learn vi, when EG is so pretty? : )

--Q.

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 305 views
  • 0 likes
  • 2 in conversation