New edition of the Cody classic: Learning SAS® by Example


Hello fellow SAS programmers!

I know you all have been anxiously awaiting the arrival of my second edition of Learning SAS® by Example: A Programmer’s Guide (aka The Big Red Book). I can’t believe it has already been 10 years since I first published Learning SAS by Example-everyone loved it so much, we had to do another!

To kick-off the new edition, I wanted to tell you about an exciting new chapter on regular expressions, and the substitution of a chapter on PROC SGPLOT to replace the old SAS Graph chapter.

Want a quick sneak-peak?

Here is an example from the regular expression’s chapter.

Tip: Want to check that your phone numbers are in a standard form? Just run the program below:

Here is the resulting output:

Simple but effective!

You will find (or already know) that cleaning your data takes up around 80% of the total analysis – your analysis is only as good as the quality of your data. As you become more efficient BASE SAS programming you will want to think more about how to clean up that data - here in this video I talk about the latest edition of my data cleaning book.

Meeting and talking to SAS programmers at conferences is one of my favorite things about being a SAS Press author! I love to hear about your experience learning to program with my SAS books, and I can’t wait to discuss how my books have helped you along your SAS programming journey.

What insight did you learn from the first edition of Learning SAS® by Example that you are hoping to see in this new edition?

Check out Learning SAS® by Example, Second Edition and my other books here: SAS Press Books: Ron Cody.


About Author

Ron Cody

Private Consultant

Ron Cody, EdD is a retired professor from the Robert Wood Johnson Medical School. He now works as a private consultant and a national instructor for SAS Institute Inc. A SAS user since 1977, Ron's extensive knowledge and innovative style have made him a popular presenter at local, regional, and national SAS conferences. He has authored or co-authored numerous books, as well as countless articles in medical and scientific journals.

1 Comment

  1. I am learning SAS using this book. Many of your programs do not have the code for importing the data sets that are in txt for csv formats, which makes me run the code difficult. For example, I cannot run the program p20.7. Was I wrong? Thanks.

Leave A Reply

Back to Top