Our Blogs

SAS Made Simple, SAS, SQL Martin Shine SAS Made Simple, SAS, SQL Martin Shine

SAS Made Simple: How to prevent rounding errors when using SAS’s Proc SQL

Join us as we look at how to prevent rounding errors when using SAS’s Proc SQL; leveraging the default formatting of the SELECT INTO statement. I recently encountered  some peculiar behaviour when using the “select into” function in SAS’s proc SQL. It was rounding very large numeric values in macro variables to the nearest 5 significant figures…

Read More
SAS, SQL, Coding Shane Prinsloo SAS, SQL, Coding Shane Prinsloo

Using SAS SQL to Create Data-Driven Macro Variables

If you are looking for a way to assign data values to macro variables in SAS, a PROC SQL step is one of the easiest and most readable ways to do it. In this article, you will learn how to assign data values to macro variables in a PROC SQL step, making your code more dynamic and self-sufficient…

Read More