Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


This is the collection of my own SAS utility macros/ sample code over my past 10 years of SAS programming and analysis experience.

Subscribe to updates I use SAS

Statistics on SAS

Number of watchers on Github 83
Number of open issues 0
Main language SAS
Average time to merge a PR 7 days
Open pull requests 0+
Closed pull requests 2+
Last commit over 2 years ago
Repo Created over 5 years ago
Repo Last Updated over 2 years ago
Size 2.55 MB
Organization / Authorxieliaing
Page Updated
Do you use SAS? Leave a review!
View SAS activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating SAS for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


This is the collection of my own SAS utility macros/ sample code over my 10 years of SAS programming and analysis experience from 2004 to 2014.

I will try to organize my code/macros, mostly for analytic works, by functionality and area.

SAS questions on Stackoverflow (View All Questions)
  • Summing Multiple Columns using SAS
  • how to automatically join a bunch of sas datasets
  • SAS how do i retrieve a list of datasets that are prefixed with a certain string
  • Categorizing variabels in SAS using a range system
  • counter in SAS without sorting the dataset
  • SAS: alternatives to First. and Last. variables when data can not be sorted?
  • Export SAS .XPT File from C#.net
  • How do I use a macro variable in R? (Similar to %LET in SAS)
  • code for order list in SAS / schedule order list
  • SAS CART Analysis
  • Convert a long character field to numeric, NOT scientific notation (SAS)
  • Append and Edit Multiple CSV files in SAS
  • Sending email massage from SAS Enterprice Guide
  • I want to Implement Single sign-On in sas webReport 9.4
  • Conditional join in SAS
  • How to implement SSO with SAS web Report 9.3.
  • Looping through SAS Rows
  • How can i delete the Single entry rows in SAS
  • Read a Json file and Save it in SAS dataset using PROC DS2
  • Data always gets truncated in SAS Proc Import (CSV)
  • Append multiple CSV files in SAS
  • Azure Event Hubs: How to grant SAS tokens to Javascript publishers (running in browser)?
  • How to write batch file in SAS that automates the opening of files?
  • extracting a list of observations from a single sas cell
  • Is there any syntaxhighlighter for SAS?
  • How can I assign values to dataset based on time and overlapping numerical ranges? - SAS
  • SAS: Individual Table Titles for PROC FREQ or PROC REPORT?
  • sas macro do loop and ampersand to subset dataset
  • Creating Diagonals in SAS
  • How to replace a whole observation working on a SAS file through IML
SAS list of languages used
Other projects in SAS
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark