Programming tips from experienced SAS users


Trivial Pursuit, Justin Bieber and Timbits. Some pretty great things have come from Canada, eh? Well, you can go ahead and add expert SAS programmers to that impressive list.

In this video, six Canadian SAS programmers, with more than 115 years of SAS programming experience between them, share some of their favorite, little-known SAS programming tips. You're sure to discover a new trick or two.

The video includes the following tips and more:

  • Standardizing and documenting your SAS program.
  • Creating parameter lookup tables.
  • Declaring your macro variables.
  • Using the Characterize Data task in SAS Enterprise Guide.
  • Data exploration best practices for SAS Enterprise Guide.

Looking for more great tips to help bring your SAS programming skills to the next level? Check out these great resources and learn even more from your SAS peers:



About Author

Larry LaRusso

Principal Communications Specialist at SAS

Larry LaRusso is the editor of the SAS Tech Report and SAS Learning Report newsletters and the SAS Users, Learning Post and Analytics U blogs. He has worked at SAS since 2000 in marketing, communications, customer experience and management roles for both the Education Division and External Communications. You can follow him on Twitter @lalaru102.


  1. Ikwuoche John David on

    Who can assist me on %NLINMIX macro for a nonlinear split-plot design modelling with the WP & SP as variance components. The main aim is to compare the OLS & EGLS estimated parameters. For the EGLS, the variance components has to be estimated using ANOVA, MLE & REML.

    I run a SAS version 9.4 but the %NLINMIX don't run on it. Please I really need help. This is seriously frustrating my life & holding my progress to graduation.

    I will be very grateful for assistance from anyone.


  2. Winfried Jakob on

    All tips are very good and well presented! And I am happy to be able to say that I knew and follow most of them.

  3. Wow, lots of highlights, i'll have to into practicing some like declaring variables as global or local. Thanks for the tips.

  4. Jean-François Ducré-Robitaille on

    With big datasets, you can use the compress option in the data statement to shrink your dataset file. This is specialy useful if you have to move the file afterwards or if you have a slow hard drive and a fast cpu

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Top