BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
abak
Obsidian | Level 7

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?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

$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.

SAS Innovate 2026: Register now! April 27-30 in Grapevine TX -- it's the premier conference for SAS users!

View solution in original post

1 REPLY 1
ChrisHemedinger
Community Manager

$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.

SAS Innovate 2026: Register now! April 27-30 in Grapevine TX -- it's the premier conference for SAS users!

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
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
  • 1 reply
  • 2124 views
  • 0 likes
  • 2 in conversation