My Useful SAS Resources
By Ou Zhang in SAS Programming Coding efficiency
April 5, 2022
Hi, I'm the here-bot cat!
Use me to find your way in your website.
- Here I am:
- content/blog/2022-04-05-sas -tricks/index.html
- Here is my R Markdown source file:
- blog/2022-04-05-sas -tricks/index.Rmd
You'll want to edit this file, then re-knit to see the changes take effect in your site preview.
To remove me, delete this line inside that file: {{< here >}}
- My content section is:
- blog
- My layout is:
- single-sidebar
- Images in this page bundle:
- /blog/sas-tips/featured.JPG
- /blog/sas-tips/figure/sas1.jpg
- /blog/sas-tips/figure/software%20development_life_cycle_methodology.png
- /blog/sas-tips/figure/write-readable-code.jpg
Story
I am not a pure SAS user, but my former jobs (Psychometrics and Assessment) required me to be efficient in SAS. So, I decided beef up my SAS programming skills in the 2017.
Key Programming Talk
The Key programming thought are included in my 2018 talk
Talk Link: Writing readable codes
Before you continue reading, I suggest you to go over this talk first.
It covers the key thought of the software development and programming.
Since I move to different industry, I no longer code in SAS very often. Instead, I usually program in R or Python. But a couple of weeks ago, one of my old friends asked me a SAS trick question, I was glad I can still give her some hints. So, I decide to create a repo at github and hope the materials and contents I collected may help anyone in SAS programming, at least, to some extent.
Back to 2017, I spent a lot time on reading SAS tech white papers. I also spent quite a few time to refactor legacy codes both from my work and my personal toolkit so that it becomes more readable and shorter.
While I was learning, I took some personal notes as well.
Repo structure
The repo OZ SAS notes contains 8 sub-folders:
The repo covers all the SAS tech paper I’ve learned. Hope these materials could give you some help.
- Efficiency (most useful paper collections for sas programming efficiency)
- macro (2nd most usefulll paper collections for SAS macro basic definition and rules)
- data steps
- debug
- hash
- comment (different SAS comment styles and how to properly comment sas code)
- create date
- code (3 sets of SAS code I think are useful)