![](https://blogs.sas.com/content/iml/files/2014/06/t_repeat-150x59.png)
A few years ago I blogged about how to expand a data set by using a frequency variable. The DATA step in the article was simple, but the SAS/IML function was somewhat complicated and used a DO loop to expand the data. (Although a reader later showed how to avoid