Running SAS Interactively
On the Yens, SAS is available via the module command.
See all currently installed versions with:
Terminal Input
module avail sas
You will see the current SAS versions listed:
Terminal Output
-------------------------------------------- Global Aliases --------------------------------------------
---------------------------------------- /software/modules/Core ----------------------------------------
sas/9.4
Load SAS Module
To use SAS software on the Yens, load the module:
Terminal Input
This will load the default SAS module. You can also load a specific version of SAS with:
ml sas
Terminal Input
ml sas/9.4
Running SAS Code
To execute a SAS script at the terminal, run:
Terminal Input
where sas <your-script.sas>
<your-script.sas> is your SAS script.
Note that SAS output is provided in a log file called <your-script.log>.
Graphical SAS
SAS can be also be accessed in a graphical form using Jupyter Notebooks or X-Forwarding.
Other SAS Environments
Depending on your needs, you may prefer using SAS in a different environment.
- SAS Studio on WRDS provides a web-native graphical interface with access to the GSB's licensed data on WRDS.
- Your machine may be a more effective place to develop your code, given the native GUI. There is a free license for SAS at the University level.