As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

What is Efficient SAS Coding?

From sasCommunity
Jump to: navigation, search


Coding efficiency is generally measured in CPU time, disk space or memory usage. This is perfectly reasonable for SAS code that will be submitted many more times than it will be updated. However, there are coding environments where SAS programs are being written for single production runs, and then adapted and updated for different production runs, e.g. in clinical development. In these cases a new measurement of maintenance time may be more important.

This paper discusses the choices that need to be made when coding efficiently in different types of SAS programs, each illustrated by coding examples.

Online Materials

You can visit my own web site to download the latest versions of the paper, presentation and sample code from here.


This paper was included in my book Power User's Guide to SAS Programming published by in 2008.

Contact Info

Please check out my user page. You can also email me.