Desktop productivity for business analysts and programmers

Using $Home in SAS Enterprise

Accepted Solution Solved
Reply
Contributor
Posts: 23
Accepted Solution

Using $Home in SAS Enterprise

At current, our code for my company is run in a linux server environment and that is where the code was written. We recently upgarded and got SAS enterprise guide and I want to use it, connected to the server, to do my work. 

 

However, my code does not run through SAS enterprise because a lot of our code uses $HOME in the file location names, which SAS enterprise apparently does not recognize. Solutions?


Accepted Solutions
Solution
‎12-04-2017 03:34 PM
Community Manager
Posts: 3,362

Re: Using $Home in SAS Enterprise

$HOME is an environment variable on Unix, and you can get it with the %SYSGET function:

 

%let home = %sysget(HOME);
%put &home.;

Then use &home. in your file path references.

View solution in original post


All Replies
Solution
‎12-04-2017 03:34 PM
Community Manager
Posts: 3,362

Re: Using $Home in SAS Enterprise

$HOME is an environment variable on Unix, and you can get it with the %SYSGET function:

 

%let home = %sysget(HOME);
%put &home.;

Then use &home. in your file path references.

☑ This topic is solved.

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

Discussion stats
  • 1 reply
  • 139 views
  • 0 likes
  • 2 in conversation