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.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

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.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Today is the last day to save with the early bird rate! Register today for just $695 - $100 off the standard rate.

 

Plus, pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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