134 Carpenter’s Complete Guide to the SAS REPORT Procedure
6.5.3 Debugging with the LIST Option
The LIST option can be used to expand the PROC REPORT step in the SAS log. The expansion
includes the statements and options that have been left at defaults. The following simple PROC
REPORT step has three variables on the COLUMN statement, but only two DEFINE statements.
The output is directed only to the LISTING destination, and the programmer might want to know
which options are being applied as defaults.
title1 'Using Proc REPORT';
title2 'Using the LIST Option';
proc report data=rptdata.clinics
list nowd;
column region ht wt;
define region ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.