Declaring Hash Objects
A Brief Overview
Hash objects are helpful when performing table lookups. A hash object is an in-memory table that contains key and data components. In the following example, the hash object contains two key columns, col_A and col_B, and three data columns, col_C, col_D, and col_E.
Figure 12.1 Hash Object with Key and Data Components
You can quickly and efficiently store, search, and retrieve data based on the key components. When the key component values are found, the data values are copied to the program data vector (PDV).
The use of hash objects is specific to the DATA step. A hash object is available only to ...