SAS OnlineTutor HomeFAQ PageSuggested Learning PathContents+Searchback||next

Creating Enhanced List and Summary Reports
Specifying Column Justification


Question:

Which of the following programs produces the output shown below?

proc report data=sasuser.heart nowd split='+';
      column patient shock survive;
      where urinary>100;
      define patient / width=7 'Patient+ID';
      define survive / width=7 'Patient+Outcome';

   run;
proc report data=sasuser.heart nowd;
      column patient shock survive;
      where urinary>100;
      define patient / width=7 'Patient/ID';
      define survive / width=7 'Patient/Outcome';

   run;
both of the above

 Patient
 ID
  Shock   Patient 
  Outcome 
 203   NONSHOCK   SURV
 318   OTHER   DIED
 601   BACTER   DIED
 98   CARDIO   SURV
 4   HYPOVOL   SURV




  back||next

 

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement