CC16
A SAS Macro for Producing Data Summary Tables

Yajie Wang, Palo Alto Institute of Research and Education
Lan Zhao, Palo Alto Institute of Research and Education
Surai Thaneemit-Chen
Bob Edson, Palo Alto Institute of Research and Education

This paper presents a SAS macro to generate data reporting tables. Given a data set, a row label file and a column heading file, users can call this macro to produce tables with the controls over table appearance: the number of data columns per page, th e width of data columns, number of titles, footers and line breaks. By separating row labels from data lines, users can easily modify the row labels without many changes in the table program if need be.