I would like to create a telephone address directory report that looks similar to what is attached (Directory.pdf). If possible we would like the names to be in order vertically per page. All I've been able to find is "proc forms" and put it in label like format which sorts going across and isn't quite as intricate as we would like the report to look. Any insight/help would be greatly appreciated.
You will probably want to tranpose your data into rows such the each directory entry consists of 3 or 4 rows. Show some of your data then it will be easier to make example.
RTF has COLUMNS option. That and some inline formatting to get the bolding and indentation and you should have it. Probably want PROC REPORT more options than PROC PRINT.
Thank you data_null_;
This was a helpful start however I have another question. This may be obvious so please excuse me as I'm still rather new to the SAS language. In using PROC REPORT as you suggest or even PROC PRINT, how do you get the values of the different address fields to follow each other in the 1 column. Your example only move the Product field to the report.
Thanks again in advance!
You will probably want to tranpose your data into rows such the each directory entry consists of 3 or 4 rows. Show some of your data then it will be easier to make example.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.