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?
$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.
$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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.