5 SAS Picture Format Options You Should Know

5 SAS Picture Format Options You Should Know

In the blog post Writing User Defined Formats in SAS with PROC FORMAT, I briefly introduce Picture Formats. Picture formats are templates for printing numbers. They are extremely flexible if you use them correctly. To do so, you should familiarize yourself with the...
A SAS Hash Object Of Hash Objects (Hash Of Hashes)

A SAS Hash Object Of Hash Objects (Hash Of Hashes)

The SAS hash object is a very flexible data structure. It can contain numeric and character data variables. But did you know that it can contain other hash objects as well? Not many programmers do. This post demonstrates the Hash of Hash method by a few examples....
Load SAS Data Set Into Memory With SASFILE Statement

Load SAS Data Set Into Memory With SASFILE Statement

In the blog post Using the BUFSIZE and BUFNO Options in SAS, I demonstrate how to set the size and number of the input/output buffers in memory. Sometimes, we want to load an entire data set into memory. We could use the BUFNO and BUFSIZE system options and set them...
Advanced Techniques to Reduce SAS Hash Object Size

Advanced Techniques to Reduce SAS Hash Object Size

In the blog post Three Basic Techniques to Reduce SAS Hash Object Size, I demonstrate how we can reduce the memory footprint of a SAS hash object with familiar programming tools. Today, I will show a few more techniques. Though these are a bit more complicated. As in...
A SAS Case Study of the BUFSIZE and BUFNO Options

A SAS Case Study of the BUFSIZE and BUFNO Options

Last week, I wrote the blog post Using the BUFSIZE and BUFNO System Options in SAS. Here, I introduced the two SAS system options BUFSIZE and BUFNO. The BUFSIZE Option controls the physical size of each data buffer, that SAS allocates for I/O operations in memory. The...
Run Time Effect Of Hash Object HASHEXP Argument Size

Run Time Effect Of Hash Object HASHEXP Argument Size

The SAS Hash Object is a very efficient tool to look up data and much more. When we use a hash object, we expect it to be fast. Therefore we should tweak the different hash object options and argument tags to our advantage. This post presents the HASHEXP argument tag....