This repository provides a collection of example SAS programs. Each program is stand-alone, so it can be executed in your SAS environment of choice to view the log and results.
You can browse and review the programs in the repository and execute the code in your SAS environment. You do not need to install any prerequisite files before executing each sample program. Use the following methods to access and execute the programs:
- Individual programs can be viewed and copied in GitHub. The code can be pasted and executed in your SAS execution environment.
- The full repository can be downloaded. In the main repository page, select Code > Download ZIP to download all files to your local machine, then upload to your SAS environment.
- SAS applications that support Git integration can clone the repository to access all programs. See the following documentation references:
Sample programs are organized into folders by Syntax or Topic. Each sample program also includes in the initial comment block a list of keywords describing both syntax and topic. You can use the search feature in GitHub or your SAS application to search for programs based on keywords. See KEYWORDS.txt for a list of valid keywords.
If there are errors in any of the programs, you may provide feedback by selecting Issues > New issue in GitHub.
Maintainers are accepting patches and contributions to this project. Please read CONTRIBUTING.md for details about submitting contributions to this project.
This project is licensed under the Apache 2.0 License.
The following options are available for learners to access free SAS software:
- SAS OnDemand for Academics - SAS9 software, available for all users
- SAS Viya 14-day Free Trial - SAS Viya software, available for commerical users
- SAS Viya for Learners - for academic learners only
- SAS Viya Workbench for Learners - for academic learners only