Example 6.12. Customizing the Appearance of a Report Produced by a DATA Step

Goal

Customize the appearance of the report produced in Example 4.2 by modifying style attributes with ODS. Send the output to a nonlisting destination.

Report

    Client Protocol Population
 Table 2.14
 Baseline Demographics
  ActivePlacebo 
 Number of Patients94106 
 Gender   
 Male41 (21%)46 (23%) 
 Female53 (27%)60 (30%) 
 Age (years)   
 Mean (SEM)52.1 (1.96)53.9 (1.74) 
 25th-75th33.7 - 67.337.7 - 69.1 
 Mm - Max21.0-84.720.5-84.8 
 No. Missing00 
 Race   
 Non-White37 (19%)33 (17%) 
 White57 (29%)73 (37%) 
 Height (inches)   
 Mean (SEM)65.4 (0.54)65.4 (0.54) 
 25th - 75th61.5 - 69.960.5 - 70.0 
 Mm - Max55.3 - 74.855.2 - 74.7 
 No Missing00 
 Weight (lbs)   
 Mean (SEM)188.2 (5.07) ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.