Example 2.8. Presenting Long Text Fields in a Report

Goal

List observations in a data set where at least one of the character variables has a long length. Wrap the character data in the column assigned to the lengthy character variable.

Report

                                       Town Survey
                                    Comments Received

                 Years         Children
   Residential   Lived in       Under     Adults
   Area          Town            18?      Over 65?
  Comments
   -----------------------------------------------
------------------------------------
   Lakeside      < 2              No        No    
  Empty the garbage cans at the
                                                  
  parks more frequently

                 2-10            Yes        No    
 Too much paperwork to ...

Get SAS® Guide to Report Writing: Examples, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.